Skip to content

Instantly share code, notes, and snippets.

@jonahoffline
Created September 20, 2014 11:16
Show Gist options
  • Save jonahoffline/db6ef4b4058bb792419d to your computer and use it in GitHub Desktop.
Save jonahoffline/db6ef4b4058bb792419d to your computer and use it in GitHub Desktop.
Getting your macbook ready for NodeSchool Puerto Rico

NodeSchool Puerto Rico

Getting your mac ready for the workshop

Install NVM (Node Version Manager)

curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | bash or wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | bash

Install Node.js (latest stable)

nvm install v0.10.32

Set a default Node.js version

nvm alias default v0.10.32

Install the Learn You Node workshopper

npm install -g learnyounode

Troubleshooting

Zsh

If you're running Zsh, the nvm load script may not get automatically added. To fix, just add source ~/.nvm/nvm.sh to your ~/.zshrc

Command not found

Reload the terminal so it loads the new settings by restarting the terminal or better yet run one of these:

For bash: . ~/.bashrc For zsh: . ~/.zshrc

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