Skip to content

Instantly share code, notes, and snippets.

@matthewnitschke
Last active January 15, 2018 01:17
Show Gist options
  • Select an option

  • Save matthewnitschke/0d7b47375a9926e3c762af115b9bbbe2 to your computer and use it in GitHub Desktop.

Select an option

Save matthewnitschke/0d7b47375a9926e3c762af115b9bbbe2 to your computer and use it in GitHub Desktop.
# remove old node from raspberry pi
sudo apt-get remove nodered -y
sudo apt-get remove nodejs nodejs-legacy -y
sudo apt-get remove npm -y # if you installed npm
# update node (with n)
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
# ssh a program on remote computer
ssh <remote>
export DISPLAY=:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment