Reputation: 393
On my computer I have Angular 8. In one project I want to have version 9. How to update Angular to version 9 only in this one project?
Upvotes: 1
Views: 1486
Reputation: 3116
Suppose your project repository is
c:\repos\myproject
Using cmd or Powershell
cd c:\repos\myproject
run
npm install @angular/cli@9
wait for the result
ng update @angular/core@9
wait for the result, should be a successful result.
to be sure from the version, run
ng --version
Upvotes: 1
Reputation: 141
The angular cli provides a command for that, is npx ng update
.
Upvotes: 0