Skip to content

Instantly share code, notes, and snippets.

@acedesigns
Created October 8, 2020 13:32
Show Gist options
  • Save acedesigns/16ddab157ef2f5f36ede85eb4f5e5e1d to your computer and use it in GitHub Desktop.
Save acedesigns/16ddab157ef2f5f36ede85eb4f5e5e1d to your computer and use it in GitHub Desktop.
Generate Angular Apps with older @angular/cli versions
#Angular 2:the last RC version before switching to angular 4 as far as I can tell — based on this and the next version now depends on angular
npx -p @angular/cli@1.0.0-rc.2 ng new angular2app
#Angular 4: the last CLI version before angular 5
npx -p @angular/cli@1.4.10 ng new angular4app
#Angular 5: the last CLI version before 6
npx -p @angular/cli@1.7.4 ng new angular5app
#Angular 6: the last CLI version before 7
npx -p @angular/cli@6.2.9 ng new angular6app
# Angular 7: (the last CLI version before 8
npx -p @angular/cli@7.3.9 ng new angular8app
#Angular 8: the last CLI version before 9
npx -p @angular/cli@8.3.25 ng new angular8app
#Angular 9: not last CLI version 9
npx -p @angular/cli@9.1.12 ng new Angular9App
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment