Environment set up
Angular is a popular JavaScript platform for server-side programming that allows you to build and run web apps quickly.
In this guide, we will talk about how to use NPM , a Node.js package management system which basically use to install dependencies while development.
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.
NPM is quite similar to Maven which we use in our java applications.
Install npm
npm is installed with Node.js
Download NPM from this link - https://nodejs.org/en/
Make sure you are downloading and installing the version which is labeled “LTS” and not the “Current” version.
To check if you have Node.js installed, run this command in your terminal:
To confirm that you have npm installed you can run this command in your terminal:
To check version of npm installed you can run this command in your terminal:
Angular is a popular JavaScript platform for server-side programming that allows you to build and run web apps quickly.
In this guide, we will talk about how to use NPM , a Node.js package management system which basically use to install dependencies while development.
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.
NPM is quite similar to Maven which we use in our java applications.
Install npm
npm is installed with Node.js
Download NPM from this link - https://nodejs.org/en/
Make sure you are downloading and installing the version which is labeled “LTS” and not the “Current” version.
To check if you have Node.js installed, run this command in your terminal:
node -v
To confirm that you have npm installed you can run this command in your terminal:
node -v
To check version of npm installed you can run this command in your terminal:
npm versions
npm install npm@latest -g
Comments
Post a Comment