当前位置:网站首页>nodejs environment variable settings
nodejs environment variable settings
2022-07-30 15:43:00 【yitahutu79】
Create two new folders in the installation directory, named node_cache and node_global.
Open a command line window in nodejs and enter the command:
npm config set prefix "D:\software\nodejs\node-v16.16.0-win-x64\node_global"npm config set cache "D:\software\nodejs\node-v16.16.0-win-x64\node_cache"Open the environment variable setting window, in the user (or system) variable column, click the "New" button, add a variable name "NODE_PATH", the value is:

In "System Variables", find the Path variable, select and edit it.Add a value to it: D:\software\nodejs\node-v16.16.0-win-x64\, this is the root directory of your nodejs installation, as shown below: 
. In the "User Variables" column, set the Path variable.If not, create a new one and set the value to 
toThis nodejs setup is complete
边栏推荐
- [Cloud native] Grayscale release, blue-green release, rolling release, grayscale release explanation
- Applicable scenarios of TiDB tools
- GeoServer + openlayers
- 《二舅》刷屏了!
- tiup help
- 视频切换播放的例子(视频切换范例)代码
- JVM performance tuning
- HUAWEI CLOUD Releases Open Source Software Governance Service - Software Component Analysis
- 阿里CTO程立:阿里巴巴的开源历程、理念和实践
- Nature Microbiology综述:聚焦藻际--浮游植物和细菌互作的生态界面
猜你喜欢

阿里CTO程立:阿里巴巴的开源历程、理念和实践
![[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios](/img/c7/3faa29dc374e2e16e59ac9b8ebf249.png)
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios

组态 - 笔记

Flask入门学习教程

【云原生】灰度发布、蓝绿发布、滚动发布、灰度发布解释

golang modules initialization project

解析字符串拼接的两种情况

【云原生】服务行业案例-不可预测的并发场景解决方案

Local Transactions vs Distributed Transactions

Alluxio为Presto赋能跨云的自助服务能力
随机推荐
golang modules初始化项目
ISELED---氛围灯方案的新选择
tiup completion
Packages - Notes
Placement Rules 使用文档
B+树索引页大小是如何确定的?
转换OTU表和序列文件为PICRUST2需要的格式
编译、链接 - 笔记 - 3
本地事务与分布式事务
4 senior experts share the insider architecture design and implementation principles of Flink technology with years of experience in large factories
Debug - Notes
90后人大硕士为学医竟重新高考,成功被首医大录取
JHM:芳环羟化双加氧酶数据库DARHD建立及相关引物评价
GeoServer
(Crypto essential dry goods) Detailed analysis of the current NFT trading markets
关于mariadb/mysql的user表:密码正确但登录失败,可能与mysql的空用户有关
GUCCI、LV等奢侈品巨头如何布局元宇宙的,其他品牌应该跟上吗?
flask获取post请求参数
Nature Microbiology综述:聚焦藻际--浮游植物和细菌互作的生态界面
(科普文)什么是碎片化NFT(Fractional NFT)