Node.js环境配置

霸气de小男生 提交于 2020-03-27 19:18:09

3 月,跳不动了?>>>

  1. node.js下载

    • 根据自己需要下载相应的版本
  2. 环境配置(可跳过)

    • 全局模块路径配置
    	npm config set prefix "your_global_path"
    
    • 全局模块路径配置
    	npm config set cache "your_cache_path"
    
    • 仓库配置
    	npm config set registry "https://registry.npmjs.org/"
    
    • 环境配置信息查看
    	npm config ls -l
    
  3. 安装cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!