원클릭으로
prisma-cli-dev
prisma dev. Reference when using this Prisma feature.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
prisma dev. Reference when using this Prisma feature.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
prisma db execute. Reference when using this Prisma feature.
prisma db pull. Reference when using this Prisma feature.
prisma db push. Reference when using this Prisma feature.
prisma db seed. Reference when using this Prisma feature.
prisma debug. Reference when using this Prisma feature.
prisma format. Reference when using this Prisma feature.
| name | prisma-cli-dev |
| description | prisma dev. Reference when using this Prisma feature. |
| license | MIT |
| metadata | {"author":"prisma","version":"7.0.0"} |
Starts a local Prisma Postgres database for development. Provides a PostgreSQL-compatible database that runs entirely on your machine.
prisma dev [options]
| Option | Description | Default |
|---|---|---|
--name / -n | Name for the database instance | default |
--port / -p | HTTP server port | 51213 |
--db-port / -P | Database server port | 51214 |
--shadow-db-port | Shadow database port (for migrations) | 51215 |
--detach / -d | Run in background | false |
--debug | Enable debug logging | false |
prisma dev
Interactive mode with keyboard shortcuts:
q - Quith - Show HTTP URLt - Show TCP URLsprisma dev --name myproject
Useful for multiple projects.
prisma dev --detach
Frees your terminal for other commands.
prisma dev --port 5000 --db-port 5432
prisma dev ls
Shows all local Prisma Postgres instances with status.
prisma dev start myproject
Starts a previously created instance in background.
prisma dev stop myproject
prisma dev stop "myproject*"
Stops all instances matching pattern.
prisma dev rm myproject
Removes instance data from filesystem.
prisma dev rm myproject --force
Configure your prisma.config.ts to use local Prisma Postgres:
import 'dotenv/config'
import { defineConfig, env } from 'prisma/config'
export default defineConfig({
schema: 'prisma/schema.prisma',
migrations: {
path: 'prisma/migrations',
},
datasource: {
// Local Prisma Postgres URL (from prisma dev output)
url: env('DATABASE_URL'),
},
})
Start local database:
prisma dev
In another terminal, run migrations:
prisma migrate dev
Generate client:
prisma generate
Run your application
When ready for production, switch to Prisma Postgres cloud:
prisma init --db
Update your DATABASE_URL to the cloud connection string.