With NPM:
$ npm create inks2d@latest
With Yarn:
$ yarn create inks2d
With PNPM:
$ pnpm create inks2d
Then follow the prompts!
You can also directly specify the project name and the platform you want to use via additional command line options. For example, to scaffold a inks2d + Web project, run:
# npm 6.x
npm create inks2d@latest my-inks2d-game --platform web
# npm 7+, extra double-dash is needed:
npm create inks2d@latest my-inks2d-game -- --platform web
# yarn
yarn create inks2d my-inks2d-game --platform web
# pnpm
pnpm create inks2d my-inks2d-game --platform web
Currently supported platforms presets include:
web
mobile
You can use .
for the project name to scaffold in the current directory.