当前位置:网站首页>NPM command Encyclopedia
NPM command Encyclopedia
2022-06-10 05:39:00 【m0_ fifty-four million eight hundred and fifty thousand four hu】
NPM The full name is Node Package Manager, It's with NodeJS Package management and distribution tools installed together , It can be easily downloaded by front-end developers 、 install 、 Upload and manage installed packages .
1. npm Installation configuration ( Optional )
The new version of nodejs You can directly use the default configuration , No more configuration is required .
1. stay nodejs Create a new file under the root directory of the installation node_cache and node_global Two folders .
2. Use the following commands to set the global installation package directory :
npm config set prefix "D:Program Files
odejs
ode_global"
npm config set cache "D:Program Files
odejs
ode_cache"
3. Configure environment variables :
Open the environment variable of the computer , System variable found , Add a new item NODE_PATH, The value is under the installation directory nodejs, D:Program Filesnodejsnode_globalnode_modules
2. see npm edition
npm -v
3. npm Taobao mirror ( Optional )
# Set global npm Taobao mirror
npm config set registry https://registry.npm.taobao.org
# You can also switch back to the default global image
npm config set registry https://registry.npmjs.org
4. npm Common commands
边栏推荐
- Improper use of BigDecimal caused P0 accident!
- Idea cancels data simplification
- Generate boot_ para. img
- AI summit ICLR 2022 | wpipe ant group large scale DNN training pipeline parallel technology
- [untitled]
- MySQL Part 2 (core technology)
- 浏览器安装这款插件瞬间漂亮多了,有类似苹果手机一样的自定义组件功能
- New words new words new words new words new words new words
- Paper reading (54):deepfool: a simple and accurate method to four deep neural networks
- MKS h3615ns DC motor drive instruction manual
猜你喜欢

With the advent of the digital wave, how to achieve agile business delivery and sustainable technology governance? Uncover the ant bizstack

【無標題】

MySQL uses where in under the InnoDB engine to cause lock escalation
![[homeassistant drive servo]](/img/88/17005f6cbe7d9eb26a6aba07fa7c57.png)
[homeassistant drive servo]

蚂蚁集团加入低碳专利承诺,向全球无偿开放专利,促进节能减排

Practice of Flink CDC + Hudi massive data entering the lake in SF

Be diligent in making money abroad and talk about the importance of tasks

Top prize! The leading scientific and technological achievement "new technology" of 2022 digital Expo was awarded to oceanbase database

leetcode 1332. Remove palindromic subsequences

Array, string, function and structure in C language
随机推荐
[STM32] migration of guilite based on Hal Library
Improper use of BigDecimal caused P0 accident!
Sql2008 database
Jifeng lighting | the spotlight without secondary light spot is perfect. The hill is perfect
第六章 软件测试工具(此章完结)
Be diligent in making money abroad and talk about the importance of tasks
Paper reading (54):deepfool: a simple and accurate method to four deep neural networks
R language performs double sample t-test on multiple covariates based on lapply function, Welch double sample t-test analysis and double independent sample t-test on the mean of covariates correspondi
【软件工程导论】知识点汇总 | 适用于考试复习 | 轻松通过考试
npm、yarn的安装及配置
[how much management knows] Chinese "other", English "other", Japanese "other"
Five best! Ant group passed the highest level evaluation of the "stability Assurance Plan" of the ICT Institute
Web171~180 of ctfshow - SQL injection (1)
【对话直播】图计算是下一个科技前沿
Ant group joined the commitment of low-carbon patents, opened patents to the world free of charge, and promoted energy conservation and emission reduction
一文看懂蚂蚁BizStack 云原生开发和治理平台
Practice of Flink CDC + Hudi massive data entering the lake in SF
顺序查找、二分查找
MySQL在InnoDB引擎下使用where in 导致锁升级
Wechat applet custom component - circular progress bar