Setting up a Node.js environment for development on Alpine Linux is quite easy and simple. So let’s see how to install Node.js with NPM on Alpine Linux.
Prerequisites
- Alpine Linux
- sudo privileges
Install Node.js on Alpine Linux
Step 1. As always update packages.
sudo apk update
Step 2. Install Node.js with NPM.
sudo apk add --update nodejs nodejs-npm
Step 3. Verify installation.
node -v
npm -v
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.