ng update @angular/cli @angular/core
Here is what the above code is Doing:
1. ng new my-app: This command creates a new Angular project with all the necessary configuration files.
2. cd my-app: This command navigates into the newly created project.
3. ng serve –open: This command launches the server, watches your files, and rebuilds the app as you make changes to those files.
4. ng update @angular/cli @angular/core: This command updates the Angular CLI and the Angular core framework.