当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
952. 按公因数计算最大组件大小 : 枚举质因数 + 并查集运用题
TiUP 术语及核心概念
Packages - Notes
Flask入门学习教程
EST综述:eDNA的多种状态以及在水环境中持久性的认知
How do luxury giants such as GUCCI and LV deploy the metaverse, should other brands keep up?
Excel uses Visual Basic Editor to modify macros
Example of video switching playback (video switching example) code
The Prospects of the Metaverse and the Four Tracks
Local Transactions vs Distributed Transactions
【嵌入式】适用于Cortex-M3(STM32F10x)的IQmath库
4 senior experts share the insider architecture design and implementation principles of Flink technology with years of experience in large factories
timed task corn
【云原生 • DevOps】influxDB、cAdvisor、Grafana 工具使用详解
What is Ts?
RISC-V calling conventions
几种常见的存储器
Redis cache penetration, breakdown, avalanche and consistency issues
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
(科普文)什么是碎片化NFT(Fractional NFT)









