• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2section: cli-commands
3title: npm-build
4description: Build a package
5---
6
7# npm-build(1)
8
9## Build a package
10
11### Synopsis
12```shell
13npm build [<package-folder>]
14```
15
16* `<package-folder>`:
17  A folder containing a `package.json` file in its root.
18
19### Description
20
21This is the plumbing command called by `npm link` and `npm install`.
22
23It should generally be called during installation, but if you need to run it
24directly, run:
25```bash
26    npm run-script build
27```
28
29### See Also
30
31* [npm install](/cli-commands/npm-install)
32* [npm link](/cli-commands/npm-link)
33* [npm scripts](/using-npm/scripts)
34* [package.json](/configuring-npm/package-json)
35