Skip to content

Instantly share code, notes, and snippets.

@tmiland
Forked from anriseth/atomsetup.sh
Created November 13, 2022 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmiland/b51466f255dac6c7ee9e1df5e9ef3063 to your computer and use it in GitHub Desktop.
Save tmiland/b51466f255dac6c7ee9e1df5e9ef3063 to your computer and use it in GitHub Desktop.
Install Atom from source
# Ask admin to install the following packages:
# build-essential git libsecret-1-dev fakeroot rpm libx11-dev libxkbfile-dev libgnome-keyring-dev
# When that is done, you can install everything else locally
# Install Node.js
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
source $HOME/.bashrc
nvm install v6.10.3
nvm use v6.10.3
# Update npm
npm install -g npm
npm config set python /usr/bin/python2 -g
# Install atom (note that I'm putting the atom source files in /scratch, as they take up lots of space)
mkdir /scratch/$USER/
cd /scratch/$USER/
git clone https://github.com/atom/atom.git
cd atom
script/build --install=$HOME/local # This takes a long time!
# Install juno:
apm install uber-juno
# Start Atom:
atom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment