[npm](https://www.npmjs.com/) is a package manager for JavaScript distributed with [[Node.js]].
To access `npm`, simply install [[Node.js]].
## Update npm
```bash
npm update -g npm
```
See the docs for the **[`update`](https://docs.npmjs.com/cli/update)** command.
To check the current version of Node.js and `npm`:
```bash
node -v
nmp -v
```