How to install node using npm and n module?
Article ID: 343 | Rating: 5/5 from 2 votes | Last Updated: Mon, Oct 5, 2020 at 3:47 AM
Install node using npm and n module
1. Install npm on centos 7
Install npm on Ubuntu 16/18 and Debian 10
Install npm on Ubuntu 20
2. Install n, Node’s version manager:
If you are not using ssl, you need to set the repo to http by running :
3. Install node by running :
Add insecure to install without ssl :
For example : n --insecure v12.13.0
To install the latest version:
To install corresponding version :
To switch between multiple node versions you need to run :
There are no attachments for this article.
Is it a hosted solution?
Viewed 1647 times since Mon, Aug 21, 2017
Connect jumpserver using putty
Viewed 889 times since Tue, Apr 2, 2019
Trial License Vs Paid License
Viewed 2667 times since Wed, Jun 14, 2017
How to re-add a reinstalled server?
Viewed 300 times since Tue, Apr 21, 2020
How to export servers ?
Viewed 3770 times since Sat, Sep 2, 2017
Can the software be compromised?
Viewed 1533 times since Mon, Aug 21, 2017