create-primitive-app
v1.0.1
Published
Create a new Primitive app
Maintainers
Readme
create-primitive-app
Create a new Primitive app with a single command.
Usage
npx create-primitive-app my-appThis will:
- Download the Primitive app template
- Prompt you to log in (if not already authenticated)
- Create a new app on the Primitive server
- Configure your project with the app ID
- Install dependencies with pnpm
Options
npx create-primitive-app [project-name] [options]
Options:
--use-existing-app-id <id> Use an existing app ID instead of creating new
--skip-install Skip running pnpm install
-s, --server <url> Server URL (default: https://primitiveapi.com)Examples
# Create a new app interactively
npx create-primitive-app
# Create a new app with a specific name
npx create-primitive-app my-app
# Use an existing app ID
npx create-primitive-app my-app --use-existing-app-id 01HXY...
# Skip dependency installation
npx create-primitive-app my-app --skip-installRequirements
- Node.js 18 or later
- pnpm (will be installed if not present)
Learn More
Visit Primitive Documentation to learn more about building with Primitive.
