Skip to content

Instantly share code, notes, and snippets.

@SgtPooki
Created April 30, 2014 20:02
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 SgtPooki/2487d68656bfef06dc46 to your computer and use it in GitHub Desktop.
Save SgtPooki/2487d68656bfef06dc46 to your computer and use it in GitHub Desktop.
Script to install node and npm on a new arch linux install
sudo pacman -Syy
sudo pacman -S --noconfirm python2 wget git make gcc vim
sudo mv /usr/bin/python /usr/bin/python-BAK
sudo ln -s /usr/bin/python2 /usr/bin/python
source <(curl -s https://gist.githubusercontent.com/SgtPooki/7667376/raw/node-and-npm-in-30-seconds.sh)
@SgtPooki
Copy link
Author

SgtPooki commented May 5, 2014

Need to have script edit bash profile to add node/npm/grunt-cli to path for non-interactive shells

@SgtPooki
Copy link
Author

SgtPooki commented May 5, 2014

Need to set script to install compass and add compass (or ruby gems) to path.

@NerdDiffer
Copy link

thank you, sym linking python (and everything else in the script) helped a whole lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment