Skip to main content

Create a PixiJS app with one command

Answer a few prompts and get a working PixiJS 8 project with PixiJS 3D, a dev server, linting and formatting already set up.

Package manager
npm create pixi.js@latest

Needs Node.js 22.12 or newer.
Then run npm install and npm run dev in the new folder.

Getting started
Loading PixiJS.

Pick a template

These commands skip the prompts. Replace my-app with your folder name, or use . for the current folder.

Package manager
  • Dev server on port 8080

    Start it with npm run dev. Most templates open it in your browser too.

  • Production build

    npm run build lints your code, type-checks TypeScript, and writes the app to dist/.

  • oxlint and oxfmt

    lint and format scripts, plus VS Code settings that lint and format on save.

  • TypeScript or JavaScript

    Most templates come in both. The JavaScript versions are the same code with the types removed.

The extension template uses PixiJS Extension Scripts for these instead, and the import map template has no build step.