Linux command
npm-check 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Check for updates
npm-check
Interactive update
npm-check -u
Check globally installed
npm-check -g
Skip unused check
npm-check --skip-unused
Update all
npm-check -y
Check production only
npm-check --production
说明
npm-check checks for outdated and unused packages. Provides interactive updates. The tool shows update availability. Identifies unused dependencies.
参数
- -u
- Interactive update mode.
- -g
- Check global packages.
- --skip-unused
- Skip unused package check.
- -y
- Update all without prompt.
- --production
- Production deps only.
- --help
- Display help information.
FAQ
What is the npm-check command used for?
npm-check checks for outdated and unused packages. Provides interactive updates. The tool shows update availability. Identifies unused dependencies.
How do I run a basic npm-check example?
Run `npm-check` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u do in npm-check?
Interactive update mode.