1

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?

2 Answers 2

1

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
Sign up to request clarification or add additional context in comments.

Comments

0

The angular cli provides a command for that, is npx ng update.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.