In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to install npm in vscode. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Since the new version of nodejs already integrates with npm, you only need to install nodejs.
This installation tutorial takes the Node.js v4.4.3 LTS (long supported version) version as an example.
The installation method is:
First of all, choose the Node.js installation package you need according to different platform systems.
Then:
Step 1: double-click the downloaded installation package v0.10.26, as follows:
Step 2: click the Run above, and the following interface will appear:
Step 3: check the option to accept the agreement and click the next button:
Step 4: the default installation directory for Node.js is "C:\ Program Files\ nodejs\". You can modify the directory and click next (next):
Step 5: click the tree icon to select the installation mode you want, and then click next next (next step)
Step 6: click Install to begin the installation of Node.js. You can also click Back to modify the previous configuration. Then click next (next):
Installation process:
Click the Finish button to exit the installation wizard.
Check whether the PATH environment variable is configured with Node.js, click start = "run =" enter "cmd" = > enter the command "path", and output the following result:
PATH=C:\ oraclexe\ app\ oracle\ product\ 10.2.0\ server\ bin;C:\ Windows\ system32;C:\ Windows;C:\ Windows\ System32\ Wbem;C:\ Windows\ System32\ WindowsPowerShell\ v1.0\; c:\ python32\ python;C:\ MinGW\ bin;C:\ Program Files\ GTK2-Runtime\ lib;C:\ Program Files\ MySQL\ MySQL Server 5.5\ bin;C:\ Program Files\ nodejs\; C:\ Users\ rg\ AppData\ Roaming\ npm
We can see that the environment variable already contains C:\ Program Files\ nodejs\
Check the Node.js version
Nodejs installation is complete!
Create the first application
NPM installation
Since the new version of nodejs has been integrated with npm, npm has been installed before. You can also test whether the installation is successful by typing "npm-v". The command is as follows, and a version prompt indicates that the installation is successful:
If you need to upgrade, windows commands "npm install npm-g" in cmd, and linux runs the command "$sudo npm install npm-g"
On how to install vscode npm to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.