• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2section: cli-commands
3title: npm-start
4description: Start a package
5---
6
7# npm-start(1)
8
9## Start a package
10
11### Synopsis
12
13```bash
14npm start [-- <args>]
15```
16
17### Description
18
19This runs an arbitrary command specified in the package's `"start"` property of
20its `"scripts"` object. If no `"start"` property is specified on the
21`"scripts"` object, it will run `node server.js`.
22
23As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can
24use custom arguments when executing scripts. Refer to [`npm run-script`](/cli-commands/npm-run-script) for more details.
25
26### See Also
27
28* [npm run-script](/cli-commands/npm-run-script)
29* [npm scripts](/using-npm/scripts)
30* [npm test](/cli-commands/npm-test)
31* [npm restart](/cli-commands/npm-restart)
32* [npm stop](/cli-commands/npm-stop)
33