npm create とは

npm create XXXnpm init コマンドの alias です。

コマンドヘルプにあるとおり、 XXX には package spec external_link または @scope が使えます。

但し、オプションで指定された名前に適宜 "create" という文字列が付けられ、 create-<package_spec>@scope/create が参照される npm package 名になります。

用途

npm create コマンドはフレームワークを使ったアプリケーションを新規作成する際に使われることがあり、create-next-app external_link, create-cloudflare external_link 等のドキュメントで紹介されています。

コマンドヘルプ

$ npm create --help Create a package.json file Usage: npm init <package-spec> (same as `npx <package-spec>`) npm init <@scope> (same as `npx <@scope>/create`) Options: [-y|--yes] [-f|--force] [--scope <@scope>] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]] [-ws|--workspaces] [--no-workspaces-update] [--include-workspace-root] aliases: create, innit Run "npm help init" for more info