I have a project that was not created using ng new (rather, I followed the quickstart guide). When I run an angular CLI command in that project (such as n
ng init was removed from the latest version of the angular CLI but You can use yarn package manager to resolve all the dependencies. In order to use yarn, you have to install it first.
To install yarn in Ubuntu, enter the following command in your terminal:
sudo apt-get update && sudo apt-get install yarn
For Windows you can download yarn installer from here .
After installing yarn, you can run the command yarn install in your project direcotry which will download all the dependencies of your project.
For additional information about yarn check official docs