In the command line:
# 模组安装路径
npm config set prefix <PATH-TO-PREFIX>
# 缓存路径
npm config set cache <PATH-TO-CACHE>
Note that the folder must be created in advance:
mkdir <FOLDER-NAME>
cd <FOLDER-NAME>
In the command line:
# 模组安装路径
npm config set prefix <PATH-TO-PREFIX>
# 缓存路径
npm config set cache <PATH-TO-CACHE>
Note that the folder must be created in advance:
mkdir <FOLDER-NAME>
cd <FOLDER-NAME>