Yeoman 설치

1093 단어
nodejs 를 먼저 설치 하고 제 가 사용 하 는 centos 7 이기 때문에 5 버 전 을 설치 할 수 있 습 니 다. 그렇지 않 으 면 참고 하 십시오.https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -

  
그리고 npm 를 자동 으로 설치 할 수 있 습 니 다.
프 록 시 를 사용 하면 npm 프 록 시 를 설정 합 니 다.
 npm    
$ npm config set proxy http://server:port
$ npm config set https-proxy http://server:port
                 。
$ npm config set proxy http://username:password@server:port
$ npm config set https-proxy http://username:pawword@server:port
       https      npm  package     。
$ npm config set registry "http://registry.npmjs.org/"

  
그리고 Yeoman 을 설치 해 주세요.
npm install -g yo grunt-cli bower

 
그리고 angularjs 프로젝트 를 만 들 수 있 습 니 다.
 
http://yeoman.io/
https://www.npmjs.com/
https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora
https://github.com/yeoman/generator-angular

좋은 웹페이지 즐겨찾기