How to install a specific version of Node on Ubuntu/Debian?

The n module worked for me. Run this code to clear npm’s cache, install n, and install the latest stable version of Node: sudo npm cache clean -f sudo npm install -g n sudo n stable See: http://www.hostingadvice.com/how-to/update-node-js-latest-version/ And: https://www.npmjs.com/package/n To install a specific version of node: sudo n 18.17.1 To check what version: node … Read more

Install Node.js to install n to install Node.js?

tl; dr # Installs n and the latest LTS Node.js version to ~/n. # For bash, ksh, zsh, modifies the respective user-specific shell-initialization file to # define env. variable N_PREFIX and append $N_PREFIX/bin to the $PATH. curl -L https://git.io/n-install | bash I feel your pain. Installing Node.js to then install n to then manage Node.js … Read more

How to install a specific version of Node on Ubuntu?

The n module worked for me. Run this code to clear npm’s cache, install n, and install the latest stable version of Node: sudo npm cache clean -f sudo npm install -g n sudo n stable See: http://www.hostingadvice.com/how-to/update-node-js-latest-version/ And: https://www.npmjs.com/package/n To install a specific version of node: sudo n 6.11.2 To check what version: node … Read more