{"repo":"mklement0/n-install","free":true,"listed":false,"github":"https://github.com/mklement0/n-install","clone":"git clone https://github.com/mklement0/n-install.git","description":"Installs n, the Node.js version manager, without needing to install Node.js first: curl -L https://bit.ly/n-install | bash","language":"Shell","stars":845,"topics":["nodejs","installer","n"],"license":null,"category":"dev-tools","readme_excerpt":"Contents - n-install &mdash; introduction - Examples - Installing n - Installation from GitHub - Manual installation - Installation options - Updating n - Manual updating - Uninstalling n - Manual uninstallation - License - Acknowledgements - npm dependencies - Changelog n-install &mdash; introduction Installs n , the Node.js version manager , on Unix-like platforms, without needing to install Node.js first . Additionally, installs scripts n-update for later on-demand updating of n , and n-uninstall for uninstalling. The simplest case is installation of n with confirmation prompt , with subsequent installation of the latest LTS Node.js version : Note: The bit.ly URL resolves to https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install , i.e. a Bash script in this repository. This is by far the simplest way to get started with both n and Node.js - even if you're looking to install only the latest LTS (long-term support) Node.js version, with no (immediate) plans to install multiple versions. n is installed as follows: The installation target is a dedicated directory , which defaults to /n and can be overridden with environment variable N PREFIX ; n itself as well as the active Node.js version are placed there. When overriding, it is advisable to choose a user location - typically, a subfolder of (at any level) - so as to avoid the need to use sudo for installation of global npm packages. Either way, the target directory must either not exist yet or be empty. U","default_branch":null,"files":null,"tree":[],"storefront":"/r/mklement0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mklement0/n-install/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}