NodeJS: Difference between revisions

6 bytes added ,  7 October 2019
Line 2: Line 2:
Node Package Manager (npm) is used to manage node packages installed on your computer or used in your node projects.<br>
Node Package Manager (npm) is used to manage node packages installed on your computer or used in your node projects.<br>


=Installation=
==Installation==
==Windows==
===Windows===
Just download the latest LTS release from [https://nodejs.org/en/ the Node.js website]
Just download the latest LTS release from [https://nodejs.org/en/ the Node.js website]


==Linux==
===Linux===
Using the [https://github.com/nvm-sh/nvm Node Version Manager (nvm)] is recommended. This does not require sudo as nvm is installed in your home directory.
Using the [https://github.com/nvm-sh/nvm Node Version Manager (nvm)] is recommended. This does not require sudo as nvm is installed in your home directory.
You should never use sudo when using npm. Doing so could lead to permission issues.
You should never use sudo when using npm. Doing so could lead to permission issues.