Skip to content

Instantly share code, notes, and snippets.

@cgarnier
Last active May 1, 2019 20:26
Show Gist options
  • Save cgarnier/9aa8d921c604dfba6863243337ef9e62 to your computer and use it in GitHub Desktop.
Save cgarnier/9aa8d921c604dfba6863243337ef9e62 to your computer and use it in GitHub Desktop.
Install node 6 on raspbian

install node 6 on raspbian

Raspbian version

  • 2016-05-27-raspbian-jessie-lite

nvm

Best way i found is to install it via nvm (node version manager) Check the version on https://github.com/creationix/nvm/releases

git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout v0.31.2
echo "source ~/.nvm/nvm.sh" >> ~/.bashrc
echo "source ~/.nvm/nvm.sh" >> ~/.profile
source ~/.profile

node

install node

nvm install 6
nvm default 6

check if it worked

node --version
npm --version

sources

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