---
name: "npm-update"
section: "3"
platform: "linux"
package: "npm"
version: "1.4.21+ds-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/npm-update/3"
---

# npm-update(3)

Update a package

## NAME

**npm-update** - Update a package

## SYNOPSIS

```
npm.commands.update(packages, callback)
```

Updates a package, upgrading it to the latest version. It also installs any missing packages.

The ´packages´ argument is an array of packages to update. The ´callback´ parameter will be called when done or when an error occurs.
