Skip to content

Instantly share code, notes, and snippets.

@ayinlaaji
Last active February 28, 2018 12:00
Show Gist options
  • Save ayinlaaji/d29439027f627a0f2393bbb4bbe4d348 to your computer and use it in GitHub Desktop.
Save ayinlaaji/d29439027f627a0f2393bbb4bbe4d348 to your computer and use it in GitHub Desktop.
Setup nodejs linux server
#!/bin/bash
sudo apt-get update
sudo apt-get install -y wget git
wget -qO- https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt-get install -y nodejs build-essential
sudo npm install -g nodemon yarn pm2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment