diff --git a/docs/cli/init.md b/docs/cli/init.md index 3ff66f4be891..9e77912f8eae 100644 --- a/docs/cli/init.md +++ b/docs/cli/init.md @@ -4,3 +4,16 @@ title: "pnpm init" --- Create a `package.json` file. + +## Options + +### --init-type <type\> + +* Default: **commonjs** +* Type: **commonjs**, **module** + +Set the module system for the package. + +### --init-package-manager + +Pin the project to the current pnpm version by adding a "packageManager" field to package.json.