

The resulting white app will be created in the desired angular version. Install an angular-cli specific version npm install -g 2] Create a project ng new you-app-name npm uninstall -g run (-force flag might be required) npm cache clean If you're not sure of the angular-cli version installed in your environment, uninstall it. So getting the correct angular-cli version will lead you to getting the desired angular version.įrom that assumption, your question is not about angular-cli, but about npm. To answer your question, let's assume that you are interested in a specific angular version and NOT in a specific angular-cli version (angular-cli is just a tool after all).Ī reasonnable move is to keep your angular-cli version alligned with your angular version, otherwise you risk to stumble into incompatibilities issues.
