Skip to content

Instantly share code, notes, and snippets.

@cilerler
Last active November 20, 2018 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cilerler/d6cfe6c8ba1c607e9cd0119010023737 to your computer and use it in GitHub Desktop.
Save cilerler/d6cfe6c8ba1c607e9cd0119010023737 to your computer and use it in GitHub Desktop.
@echo off
REM download latest nodejs & npm from https://nodejs.org/en/
REM or RUN command below in administrative mode
REM CALL npm-windows-upgrade
CALL npm uninstall -g @angular/cli
CALL npm uninstall -g generator-ngx-rocket
CALL npm cache verify
CALL npm install -g @angular/cli@latest
CALL npm install -g generator-ngx-rocket
cd %USERPROFILE%\Source\!repos\angular\
rd .\_templates /s /q
md .\_templates
cd .\_templates
md ng
md ngx
md ngx\demo
cd ng
CALL ng new demo --style=scss
cd ..\ngx\demo
CALL ngx new demo
cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment