跳到主内容
版本:11.x

pnpm create

create-*@foo/create-* 启动套件创建一个项目。

示例

pnpm create react-app my-app

配置项

--allow-build

添加于:v10.2.0

允许在安装期间执行安装的包名列表。

Security and trust policies

Since v11.0.0, pnpm create honors the project-level security and trust policy settings — minimumReleaseAge (and its Exclude/Strict companions) and trustPolicy (and its Exclude/IgnoreAfter companions) — when resolving and fetching the starter kit.