Skip to content

Instantly share code, notes, and snippets.

@projectweekend
Last active August 26, 2017 15:14
Show Gist options
  • Save projectweekend/d700c23d26314bb621d1b64eb5a28cf4 to your computer and use it in GitHub Desktop.
Save projectweekend/d700c23d26314bb621d1b64eb5a28cf4 to your computer and use it in GitHub Desktop.
Script to update Atom text editor on Ubuntu
#!/usr/bin/env bash
ATOM_DOWNLOAD_URL='https://atom.io/download/deb'
ATOM_DOWNLOAD_DIR="$HOME/Downloads"
ATOM_DEB_FILE="$ATOM_DOWNLOAD_DIR/atom.deb"
wget $ATOM_DOWNLOAD_URL --output-document=$ATOM_DEB_FILE && \
sudo dpkg --install $ATOM_DEB_FILE && \
rm $ATOM_DEB_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment