Global option to --skip-install for new projects
See original GitHub issueVersions
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 1.5.5
Node: 8.9.1
OS: linux x64
Angular:
...
FEATURE REQUEST
Currently, a new project can be scaffolded using ng new myProject
. which by default uses npm
to install node_modules
. and, we can also set yarn
instead of npm
.
Installation time for the packages by cli
is always greater than manual npm install
or yarn install
.
Hence there is an option to skip install the npm packages
by using ng new myProject --skip-install
.
Can we globally set an option to skip install
the packages globally
for all new projects?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
npm - Skip install for particular dep - Stack Overflow
Run npm link from /home/me/hacked-npm/lodash · cd to the project where you want to use the modified dependency · Do your npm install...
Read more >npm-install - npm Docs
In global mode (ie, with -g or --global appended to the command), it installs the current package context (ie, the current working directory)...
Read more >pip install - pip documentation v22.3.1
Directory to check out editable projects into. The default in a virtualenv is “<venv path>/src”. The default for global installs is “<current dir>/src”....
Read more >dotnet tool install command - .NET CLI - Microsoft Learn
To install a local tool, omit the --global and --tool-path options. Global tools are installed in the following directories by default when you ......
Read more >ng new - Angular
Option Description Value Type Default Value
‑‑commit Initial git repository commit information. boolean true
‑‑directory The directory name to create the workspace in. string
‑‑force Force...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@filipesilva .
In my PC. I made a rough calculation
2Minutes-5sec. Installation via
ng new myProject
40seconds
I was just saying If an option to set skip install for new projects globally will be a nice one not stating as a workaround.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.