nodejs 安装与环境配置
安装:
下载nodejs binary文件,配置nodejs 命令地址到环境变量 Path中即可。
配置nodejs
配置nodejs npm registery 。淘宝镜像拉取依赖速度快,就选他。
npm config set registry https://registry.npm.taobao.org/
配置本地依赖包地址
npm config set prefix “E:\software\node-v18.15.0-win-x64”
配置缓存文件地址
npm config set cache “E:\software\node-v18.15.0-win-x64\node_cache”