angularjs 最新安装步骤-2017

来源:互联网 发布:人工智能爱酱cv 编辑:程序博客网 时间:2024/04/30 13:58

第一步:在官网下载,安装nodejs和npm https://nodejs.org/en/
第二步:升级npm为最新版本:
命令:npm install npm@latest -g
第三步:安装angularjs-cli,执行命令:npm install -g @angular/cli

常用命令:
nmp -v 查看npm版本
node -v 查看node.js的版本
ng -v angularjs版本
npm cache clean 清除缓存 安装失败时,可能有下载文件缓存,最好删除缓存先
注意:mac下安装,须使用sudo执行命令,授权

0 0
原创粉丝点击