How to install npm and nodejs? / npm 설치 / nodejs 설치

2017. 10. 12. 00:06Programing/Mobile App _Web

https://www.npmjs.com/get-npm?utm_source=house&utm_medium=homepage&utm_campaign=free%20orgs&utm_term=Install%20npm


What is npm?

npm makes it easy for JavaScript developers to share and reuse code, and makes it easy to update the code that you’re sharing, so you can build amazing things.


Install npm

npm is installed with Node.js

npm is distributed with Node.js- which means that when you download Node.js, you automatically get npm installed on your computer.


Download Node.js and npm

https://nodejs.org/en/


Check that you have node and npm installed

To check if you have Node.js installed, run this command in your terminal:

# node -v

   v6.11.4

To confirm that you have npm installed you can run this command in your terminal:

# npm -v

   3.10.10