当前位置:网站首页>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
边栏推荐
猜你喜欢

【云原生】阿里云ARMS业务实时监控

面试何惧调优!腾讯技术官私藏的性能优化方案手册,原理实战齐全
4 senior experts share the insider architecture design and implementation principles of Flink technology with years of experience in large factories

(Crypto必备干货)详细分析目前NFT的几大交易市场

本地事务与分布式事务

golang modules initialization project

flask获取post请求参数

ECCV2022 | FPN错位对齐,实现高效半监督目标检测 (PseCo)

Sparse-PointNet: See Further in Autonomous Vehicles 论文笔记

RISC-V调用惯例
随机推荐
Could not acquire management access for administration
Sentinel
RISC-V calling conventions
类和对象(下篇)
瑞吉外卖项目实战Day02
数字量输入模块io
Introduction to TiUP
【嵌入式】适用于Cortex-M3(STM32F10x)的IQmath库
Packages - Notes
How is the B+ tree index page size determined?
关于mariadb/mysql的user表:密码正确但登录失败,可能与mysql的空用户有关
编译、链接 - 笔记 - 3
【为宏正名】99%的人从第一天学习C语言就自废的武功
MySQL客户端工具的使用与MySQL SQL语句
tiup completion
Lock wait timeout exceeded solution
华为「天才少年」计划招募的博士们,迎来首秀!
哨兵
The Prospects of the Metaverse and the Four Tracks
Overview of TiUP commands