MichaIng / nodejs-linux-installer

This is a universal Node.js installer for Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js Linux Installer

This is a universal Node.js installer for Linux. The original project by taaem required some fixes to maintain functionality, which are contained in this fork, along with other enhancements and support for nodejs.org's unofficial builds.

CodeFactor

The following architectures are supported:

  • ARMv6 (armv6l)*
  • ARMv7 (armv7l)
  • ARMv8 (aarch64)
  • x86 64-bit (x86_64)
  • x86 32-bit (i386, i486, i586, i686)**
  • further architectures from nodejs.org's unofficial builds.

* The latest official version for ARMv6 is Node v11. For more recent versions, use unofficial builds.
** The latest official version for x86 32-bit is Node v9. For more recent versions, use unofficial builds.

Usage

I don't take any responsibilities if you blow your system up!

Please be aware, that installing Node.js requires root privileges. The script will check for root or sudo credentials at start. By default the latest official release for your architecture will be installed:

curl -sSf 'https://raw.githubusercontent.com/MichaIng/nodejs-linux-installer/master/node-install.sh' | bash

If no (recent) official release is available for your architecture, you may install nodejs.org's unofficial builds, using the options below.

Show a list of all unofficial releases for your CPU architecture available at nodejs.org:

curl -sSf 'https://raw.githubusercontent.com/MichaIng/nodejs-linux-installer/master/node-install.sh' | bash -s -- --list-unofficial

Install unofficial release of Node.js with <version>:

curl -sSf 'https://raw.githubusercontent.com/MichaIng/nodejs-linux-installer/master/node-install.sh' | bash -s -- --unofficial '<version>'

Get the help text:

curl -sSf 'https://raw.githubusercontent.com/MichaIng/nodejs-linux-installer/master/node-install.sh' | bash -s -- --help

Contributing

Just create a fork and please contribute all your improvements back here!

License

MIT

Thanks for all contributions!

About

This is a universal Node.js installer for Linux.

License:MIT License


Languages

Language:Shell 100.0%