[feature request] add `loglevel` to the commands of `install` and `update` and to the relevant documentation pages
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
Currently all install/update progress is displayed using a single line, with each new line overwriting the previous one. This occurs very fast, and so the user can only manage to read some lines, and only momentarily.
My suggestion is display it fully, in multiple lines, in order to be able to see the whole procedure steps.
Often install/update is a complicated progress, and I believe it's better to have more control, especially in terms of security (which dependencies are installed, etc).
If you don't find this behavior convenient enabled by default, my suggestion is to offer a "verbose" configuration param.
Here is a screen capture of e.g. npm install eslint:

Using npm 8.5.5 (node 17.8.0) on win 11.
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how npm CLI's install and update commands render progress, then review the relevant documentation pages. Compare the current single-line behavior with the reported npm install example and clarify whether the requested option is named loglevel or verbose. Done means install and update can show the full procedure across multiple lines and the documentation describes the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli, developer-experience, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100