Skip to content
npm Docs
npmjs.comStatusSupport
About npm
Getting started
Packages and modules
Integrations
Organizations
Policies
Threats and Mitigations
npm CLI
CLI Commands
npm
npm access
npm adduser
npm audit
npm bin
npm bugs
npm build
npm bundle
npm cache
npm ci
npm completion
npm config
npm dedupe
npm deprecate
npm dist-tag
npm docs
npm doctor
npm edit
npm explore
npm fund
npm help
npm help-search
npm hook
npm init
npm install
npm install-ci-test
npm install-test
npm link
npm logout
npm ls
npm org
npm outdated
npm owner
npm pack
npm ping
npm prefix
npm profile
npm prune
npm publish
npm rebuild
npm repo
npm restart
npm root
npm run-script
npm search
npm shrinkwrap
npm star
npm stars
npm start
npm stop
npm team
npm test
npm token
npm uninstall
npm unpublish
npm update
npm version
npm view
npm whoami
Configuring npm
Using npm

npm-start

Start a package
Version 6.14.17 (Legacy Release)
  • Version 6.14.17 (Legacy Release)
  • Version 7.24.2 (Legacy Release)
  • Version 8.19.3 (Legacy Release)
  • Version 9.1.1 (Latest Release)
Table of contents
  • Synopsis
  • Description
  • See Also
Table of contents
  • Synopsis
  • Description
  • See Also

Synopsis

npm start [-- <args>]

Description

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.

As of npm@2.0.0, you can use custom arguments when executing scripts. Refer to npm run-script for more details.

See Also

  • npm run-script
  • npm scripts
  • npm test
  • npm restart
  • npm stop
Edit this page on GitHub