Installing npm on Alpine Linux is a quick and easy procedure. Let’s jump on the installation part.
Prerequisites
- sudo privileges
Install npm on Alpine Linux
Step 1. Update the alpine packages.
apk update
Step 2. Install npm.
apk add nodejs npm
Step 3. Verify the installation.
npm -v
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.