Download, setup and configure nodejs automatically.
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
node_setup.sh

README.md

nodejs-setup-script

Download, setup and configure nodejs automatically.
usage: sh node_setup.sh $NODE_VERSION
e.g.: sh node_setup.sh 0.8.2
The script will download tar of nodejs to '/home/download', and setup it to '/home/app'. If the directories isn't existed, it will create them. After setup, the executable 'node' will be added to PATH, and NODE_PATH is also configured.