DEV Community

Little Coding Things Blog
Little Coding Things Blog

Posted on • Originally published at littlecodingthings.com on

How to Install NPM on MacOS

Installing Node.js and npm (Node Package Manager) on your Mac is super simple. With these tools, you can manage Javascript packages, create powerful web applications, and dive deep into modern web development. Start by following these steps:

Step 1: Verify that npm is installed

Open your terminal and type

node -v
npm -v
Enter fullscreen mode Exit fullscreen mode
  • If you see version numbers (e.g., v16.13.0 for Node.js and 8.1.0 for npm), they’re already installed.
  • If you see errors or no versions, continue to the next step.

👉 Continue reading the full guide on Little Coding Things, we’ll
walk you through installing Node.js with Homebrew, verifying everything works, and keeping npm updated.

Top comments (0)