This interactive CLI tutor is designed as hands-on practice for readers of the NPM Book by Max Black. If you're working through the book, this tool will guide you through real-world npm workflows — from initializing packages to installing dependencies — all from your terminal.
To use this CLI tutor, you must have:
- Node.js and npm installed on your system. You can download them from the official site: https://nodejs.org
- npm version 11.6.2 or later — all features in this tutor have been tested with npm 11.6.2.
-
Open your terminal and navigate to the project folder.
-
Make file executable:
chmod +x run-me.sh
-
Run the setup script:
./run-me.sh
-
Once setup is complete, start the CLI tutor:
npm-practice
- Open the project folder in File Explorer.
- Double-click run-me.cmd to run the setup.
- Open Command Prompt and start the CLI tutor:
npm-practice