I installed angular / cli like this:
npm install -g @ angular / cli
I created a project like this:
ng new project-name
So far so good, but is it possible that when you create a project with the ng new eating it does not copy the @Angula folder to local and yes it uses the global repository?
Question reason:
A clean, angle-only project has approximately 28,000 files with an approximate total size of 200 MB, so backing up takes a lot of time, which consumes less HD space. I would like to unify the packages that are possible in the global repository and whenever I create my projects they will access the libraries there because all the projects will have the same versions of the libraries and its me updating one all the projects will be updated.
===================================================== ============================
I ran the following lines in the CMD simulating a project from scratch.
I created a Projects folder and inside it I made the commands:
mkdir node_modules
echo {} >> package.json
npm i @angular/cli --save
ng new projeto1 --skip-install
In the end I presented the following message when I used ng new project1
"You can not use the new command inside an Angular CLI project."