|
9 years ago | |
---|---|---|
.. | ||
README.md | 9 years ago | |
update-nodejs-miniscript.run | 9 years ago | |
update-nodejs.run | 9 years ago |
Tested on: Debian 8.3 Bash: 4.3 ZSH: 5.0.7
Note: if npm
is installed, you can simply install the newest stable version of NodeJS with:
su -c "npm install -g n" root
su -c "n stable" root
Run with any Shell (tested with bash and zsh).
update-nodejs.run "VERSION" "BUILD-DIR" "CLEAN"
If no argument is used, a help is shown.
Can bei either git
or any version-number.
NON-OPTIONAL argument!
update-nodejs.run 5.5.0
Any directory your user has write-rights to.
specifies the PARENT-folder:
BUILD-DIR: ~/
means, that it will build in ~/node-VERSION
.
*defaults to ~/build/nodejs
NON-OPTIONAL argument if the CLEAN
argument is used as well!
update-nodejs.run "VERSION" ~/my_packages
Can either be YES
(in caps) or anything other than that.
specifies, if the actual build-directory will be deleted after installing.
If set to YES
, it will delete BUILD-DIR/node-VERSION
. BUILD-DIR
will not be deleted.
OPTIONAL argument!
update-nodejs.run "VERSION" "BUILD-DIR" YES
Minimal version of the original script.
update-nodejs-miniscript.run "VERSION"
The Miniscript will always use ~/TMP_NODE_BUILDDIR
as building-directory.
The building-directory will be deleted after installing.
Use the Miniscript with care!