CLI for scaffolding Shape apps from the Builder Kit template.
npx create-shape-app my-appOther package managers:
bunx create-shape-app my-apppnpm dlx create-shape-app my-appyarn create shape-app my-app
A monorepo with everything needed to build on Shape:
apps/web-- Next.js frontend with wagmi, viem, and wallet connectionpackages/contract-- Hardhat project with a sample contract, deploy scripts, and tests- Pre-configured for Shape mainnet and Shape Sepolia
- TypeScript throughout, Tailwind CSS styling
| Flag | Description |
|---|---|
-y, --yes |
Skip confirmation prompts |
--pm <bun|npm|pnpm|yarn> |
Select package manager |
--skip-install |
Skip dependency install step |
--skip-git |
Skip git init + initial commit |
--template-ref <tag> |
Pin to a specific Builder Kit release tag |
-h, --help |
Show help |
-v, --version |
Show version |
If project-name is omitted in an interactive terminal, you will be prompted.
If --pm is omitted in an interactive terminal, you can pick a package manager.
- Scaffolds from
shape-network/builder-kitrelease tags only (latestby default). - Rejects non-release refs (for example
main) and canary tags. - In non-interactive terminals,
--yesis required. - Copies template files, excluding VCS/internal maintainer metadata.
- Applies defaults:
- Root
package.jsonname is set from the project directory name. .env.exampleis copied to.envwhen present.- Dependencies are installed unless
--skip-installis set. - Git is initialized unless
--skip-gitis set.
- Root
- GitHub API rate limit during template lookup:
- retry later, set
GITHUB_TOKEN, or pass--template-ref <tag>.
- retry later, set
- Git init or commit failure:
- scaffold still succeeds; run
git init && git add -A && git commit -m "Initial commit"manually.
- scaffold still succeeds; run
- Dependency install failure:
- rerun your package manager (
bun install,npm install,pnpm install, oryarn install) inside generated app.
- rerun your package manager (
bun install
bun run lint
bun run type-check
bun run test- Trigger: GitHub release publish event.
- Guard: workflow checks release tag matches
package.jsonversion. - Requirement: repository secret
NPM_TOKENmust be configured. - Publish target: npm package
create-shape-app.
Questions or feedback? Reach out!