Skip to content

Instantly share code, notes, and snippets.

@mtuchi
Created November 19, 2016 21:07
Show Gist options
  • Save mtuchi/e13040bee09668ddd3b6587764ca827c to your computer and use it in GitHub Desktop.
Save mtuchi/e13040bee09668ddd3b6587764ca827c to your computer and use it in GitHub Desktop.
The easiest possible way to update Atom Editor on Linux
#!/bin/bash
# Update atom from downloaded deb file
rm -f /tmp/atom.deb
curl -L https://atom.io/download/deb > /tmp/atom.deb
dpkg --install /tmp/atom.deb
echo "***** apm upgrade - to ensure we update all apm packages *****"
apm upgrade --confirm false
atom
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment