![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /opt/cpanel/ea-nodejs10/lib/node_modules/npm/docs/content/cli-commands/ |
--- section: cli-commands title: npm-build description: Build a package --- # npm-build(1) ## Build a package ### Synopsis ```shell npm build [<package-folder>] ``` * `<package-folder>`: A folder containing a `package.json` file in its root. ### Description This is the plumbing command called by `npm link` and `npm install`. It should generally be called during installation, but if you need to run it directly, run: ```bash npm run-script build ``` ### See Also * [npm install](/cli-commands/npm-install) * [npm link](/cli-commands/npm-link) * [npm scripts](/using-npm/scripts) * [package.json](/configuring-npm/package-json)