Last active
April 24, 2023 13:12
-
-
Save gparlakov/1d015d3d2335dc8dbeccb9ede0530cdf to your computer and use it in GitHub Desktop.
Add angular apps of a specific version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# these versions are current as of May 18th 2021 | |
# info from https://www.npmjs.com/package/@angular/cli -> Versions | |
#Angular 2: looks like this is the last RC version before switching to angular 4 | |
npx -p @angular/[email protected] ng new angular2app | |
#Angular 4: the last CLI version before Angular 5 | |
npx -p @angular/[email protected] ng new angular4app | |
#Angular 5: the last CLI version before Angular 6 | |
npx -p @angular/[email protected] ng new angular5app | |
#Angular 6: CLI version 6 (lts) | |
npx -p @angular/[email protected] ng new angular6app | |
# Angular 7:CLI version 7 (lts) | |
npx -p @angular/[email protected] ng new angular7app | |
#Angular 8: CLI version 8 (lts) | |
npx -p @angular/[email protected] ng new angular8app | |
#Angular 9: CLI version 9 (lts) | |
npx -p @angular/[email protected] ng new angular9App | |
#Angular 10: CLI version 10 (lts) | |
npx -p @angular/[email protected] ng new angular10App | |
#Angular 11: CLI version 11 (lts) | |
npx -p @angular/[email protected] ng new angular11App | |
#Angular 12: current | |
npx -p @angular/[email protected] ng new angular12App |
Hi, thanks!
It should not require uninstalling your global Ng. Can you share what the
issue was?
@svnalx
…On Wed, Sep 22, 2021, 20:07 Alex Crist ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Awesome, starred thanks. I had to uninstall Angular CLI globally to get it
to work, but I'm ok with that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://gist.github.com/1d015d3d2335dc8dbeccb9ede0530cdf#gistcomment-3901708>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2SEVYTQREEEPFMTYQPF2TUDIEN7ANCNFSM5ERZHZGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
Please edit line #32
npx -p @angular/[email protected] ng new angular12App
@akshanshkishore right! Thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, starred thanks. I had to uninstall Angular CLI globally to get it to work, but I'm ok with that.