angular cli install with yarn
- REACT & NODE
- 2018. 7. 31.
nodejs 와 npm 이 설치되어 있다는 전제 하에 아래를 진행.
npm install -g yarn
npm install -g @angular/cli@latest
yarn global add @angular/cli@latest
ng config -g cli.packageManager yarn
ng new ng-yarn-test-project
cd ng-yarn-test-project
ng serve
참고:
yarn global ls
yarn --version
npm --version
ng --version
참조: https://medium.com/@beeman/how-to-do-x-in-angular-cli-v6-db7530c23066
ng get / set 명령어가 ng config 로 변경되었다. get 은 아예 없어진 듯 하다.
https://appdividend.com/2018/10/20/how-to-update-angular-cli-to-version-7/
http://han41858.tistory.com/47?fbclid=IwAR0vkHhxBR5jduQtzdPd9jZQUspEvGvF60qBNSSmfBL3J7raX6gdD7KJHpw
angular 6 > 7 upgrade
sudo npm uninstall -g angular-cli
sudo npm cache verify
sudo npm install -g @angular/cli@latest
sudo npm cache verify
ng --version
yarn global ls
yarn global remove @angular/cli
yarn global add @angular/cli@latest
yarn global ls
'REACT & NODE' 카테고리의 다른 글
react hoc , context api , recompose (0) | 2021.02.19 |
---|---|
Cookie, Session, Auth, Token, jwt, OAuth, 인증, safari, remember_me (0) | 2021.02.19 |
ES6 정리 javascript 2015 (0) | 2021.02.08 |
redux with NGRX, store / state / reducer 개념 (0) | 2018.12.18 |
nodejs install with nvm in Mac (0) | 2018.07.12 |