-
- Download from: NVM GitHub
- For installing and running Node.js version 18
- Run:
nvm install 18
- Run:
nvm use 18
- Run:
-
- Run:
npm uninstall -g @angular/cli
- Run:
npm cache clean --force
- Run:
- Run:
npm install -g @angular/[email protected]
- Run:
ng new older-version-app
- cd to the folder where you will install the local Angular version
- Run:
npm install @angular/[email protected]
- Run:
npx ng new older-version-app