Lines Matching refs:init
3 title: npm-init
7 # npm-init(1)
13 npm init [--force|-f|--yes|-y|--scope]
14 npm init <@scope> (same as `npx <@scope>/create`)
15 npm init [<@scope>/]<name> (same as `npx [<@scope>/]create-<name>`)
22 $ npm init react-app ./my-react-app
28 $ npm init esm --yes
31 Generate a plain old package.json using legacy init:
34 $ git init
35 $ npm init
40 $ npm init -y
45 `npm init <initializer>` can be used to set up a new or existing npm package.
52 The init command is transformed to a corresponding `npx` operation as follows:
54 * `npm init foo` -> `npx create-foo`
55 * `npm init @usr/foo` -> `npx @usr/create-foo`
56 * `npm init @usr` -> `npx @usr/create`
58 Any additional options will be passed directly to the command, so `npm init foo
61 If the initializer is omitted (by just calling `npm init`), init will fall back
62 to legacy init behavior. It will ask you a bunch of questions, and then write a
71 * <https://github.com/isaacs/init-package-json>