A command-line interface (CLI) tool to install Node.js modules in multiple projects with a single command.
You can install npmdi
globally using npm
or yarn
:
npm i --global npmdi
yarn global add npmdi
Usage: npmdi [options]
Options:
-V, --version output the version number
-d, --directory <path> path to the directory containing your Node.js projects (default: $(pwd))
-p, --package-manager <pm> name of the package manager to use (npm, yarn, or pnpm) (default: npm)
-h, --help output usage information
Example:
$ npmdi --directory ~/workspace --package-manager yarn
INSTALL /Users/nano/workspace/alexa-skill-api
INSTALL /Users/nano/workspace/dorantes-next-portfolio
SKIP /Users/nano/workspace/fdorantesm/package.json missing
INSTALL /Users/nano/workspace/healthy-admin
INSTALL /Users/nano/workspace/healthy-app
INSTALL /Users/nano/workspace/healthy-backend
INSTALL /Users/nano/workspace/inveragave
INSTALL /Users/nano/workspace/inveragave-api
INSTALL /Users/nano/workspace/inveragave-app
SKIP /Users/nano/workspace/mokalli/package.json missing
INSTALL /Users/nano/workspace/moppet
INSTALL /Users/nano/workspace/my-video-streaming-project
INSTALL /Users/nano/workspace/nest-pdf
INSTALL /Users/nano/workspace/nestjs-ddd-module-template
INSTALL /Users/nano/workspace/nestjs-wetransfer
INSTALL /Users/nano/workspace/prospec
INSTALL /Users/nano/workspace/raffle-webapp
INSTALL /Users/nano/workspace/raffles-backend-api
INSTALL /Users/nano/workspace/stream
INSTALL /Users/nano/workspace/stripe-token
FINISHED Installed node packages in 18 projects
Contributions, issues, and feature requests are welcome. Feel free to check the issues page if you want to contribute.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this tool useful and want to support its development, you can buy me a coffee via PayPal.
Your contributions will help me continue to improve this tool and develop new features. Thank you for your support!