dependabot/npm_and_yarn/main/proc-log-7.0.0
@reggi/path-to-regexp
dependabot/npm_and_yarn/main/copy-to-clipboard-4.0.2
dependabot/npm_and_yarn/main/eslint-10.4.0
dependabot/npm_and_yarn/main/npmcli/eslint-config-7.0.0
dependabot/npm_and_yarn/main/proc-log-7.0.0
dependabot/npm_and_yarn/npm_and_yarn-826852524d
dependabot/npm_and_yarn/npm_and_yarn-ab9a7f4bc2
deprecate-totp-2fa
dhei/classic-tokens
gat-bypass-2fa-docs
jpg619/fix-accessibility-content-flow
jpg619/version-bump-tar-2
kartykp/gat-bypass-2fa-docs
kartykp/upgrade-path-to-regex
main
maitxn/version-bump-tar
patch-1
reggi/cache-based-on-version
reggi/dev-engines
reggi/fix-transform-prettier
reggi/overrides
update-search-sensitivity
| 1 | --- |
| 2 | title: npm-start |
| 3 | section: 1 |
| 4 | description: Start a package |
| 5 | github_repo: npm/cli |
| 6 | github_branch: release/v6 |
| 7 | github_path: docs/content/commands/npm-start.md |
| 8 | redirect_from: |
| 9 | - /cli-documentation/v6/cli-commands/npm-start |
| 10 | - /cli-documentation/v6/cli-commands/start |
| 11 | - /cli-documentation/v6/commands/npm-start |
| 12 | - /cli-documentation/v6/commands/start |
| 13 | - /cli-documentation/v6/npm-start |
| 14 | - /cli-documentation/v6/start |
| 15 | - /cli/v6/cli-commands/npm-start |
| 16 | - /cli/v6/cli-commands/start |
| 17 | - /cli/v6/commands/start |
| 18 | - /cli/v6/npm-start |
| 19 | - /cli/v6/start |
| 20 | --- |
| 21 | |
| 22 | ### Synopsis |
| 23 | |
| 24 | ```bash |
| 25 | npm start [-- <args>] |
| 26 | ``` |
| 27 | |
| 28 | ### Description |
| 29 | |
| 30 | This runs an arbitrary command specified in the package's `"start"` property of its `"scripts"` object. If no `"start"` property is specified on the `"scripts"` object, it will run `node server.js`. |
| 31 | |
| 32 | As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can use custom arguments when executing scripts. Refer to [`npm run-script`](/cli/v6/commands/npm-run-script) for more details. |
| 33 | |
| 34 | ### See Also |
| 35 | |
| 36 | - [npm run-script](/cli/v6/commands/npm-run-script) |
| 37 | - [npm scripts](/cli/v6/using-npm/scripts) |
| 38 | - [npm test](/cli/v6/commands/npm-test) |
| 39 | - [npm restart](/cli/v6/commands/npm-restart) |
| 40 | - [npm stop](/cli/v6/commands/npm-stop) |