# npm init > 创建一个 `package.json` 文件。 > 更多信息:。 - 使用提示初始化一个新包: `npm init` - 使用默认值初始化一个新包: `npm init -y` - 使用特定的初始化工具初始化一个新包: `npm init {{create-react-app}} {{my-app}}`