Installation
Create a new PledgeJS application with create-pledge-app.
TL;DR
Install PledgeJS by running npx create-pledge-app@latest my-app. It scaffolds a new project with your choice of React, Vue, Solid, or Svelte, configures PledgePack as the bundler, and starts the dev server with HMR.
Last updated: August 22, 2026
System Requirements
PledgeJS requires Node.js 20.0.0 or later, and supports macOS, Windows, and Linux. For native Rust addons (optional — JS fallbacks exist), a Rust toolchain is needed.
Node.js >= 20.0.0pnpm >= 11.x (monorepo workspace)Rust toolchain (optional — for PSX native addons; JS fallbacks exist)
Automatic Installation
The fastest way to start a new PledgeJS project is create-pledge-app. It walks you through framework selection (React, Vue, Solid, Svelte), TypeScript, Tailwind CSS, and the App Router.
npx create-pledge-app@latest my-appManual Installation
To set up a project by hand, install PledgeJS and its peer dependencies. PledgePack is the default bundler and is included automatically.
npm install pledgestack
# or
pnpm add pledgestackStarting the Dev Server
The CLI command is pledge (not pledgestack). After installing, you can start the dev server, build for production, or start the production server.
npx pledge dev # Start dev server with HMR
npx pledge build # Build for production (PledgePack bundler)
npx pledge serve # Serve production build