inngest/inngest-skills/inngest-cli
Claude Code and agent skill by inngest/inngest-skills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Use when installing or running the Inngest CLI and Dev Server for local development, local testing, serve endpoint debugging, Docker or Docker Compose setup, MCP configuration, self-hosted `inngest start`, or deployment workflow checks. Covers `inngest dev`, `inngest start`, auto-discovery, config files, environment variables, `@inngest/test`, local event sending, platform gotchas, and production/self-hosted server flags.
Install
npx vskill@latest install inngest/inngest-skills/inngest-cliSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as inngest/inngest-skills/inngest-cli.
Inngest CLI
Master the Inngest CLI for local development, testing, and self-hosted production. The CLI provides the Dev Server — a fully-featured, open-source local version of the Inngest Platform.
These skills are focused on TypeScript. For Python or Go, refer to the Inngest documentation for language-specific guidance. Core concepts apply across all languages.
Use this skill for CLI setup, Dev Server workflows, local testing, Docker, MCP, and self-hosted server operations. For run/trace inspection through inngest api, use inngest-api-cli when available.
Installation
If your npm configuration disables lifecycle scripts and the binary is missing, retry with npx --ignore-scripts=false inngest-cli@latest dev. Bun does not support lifecycle scripts by default, so prefer npx for the CLI even in Bun projects.
inngest dev — Local Dev Server
Starts an in-memory local version of Inngest with a browser UI at http://localhost:8288.
CLI Flags
| Flag | Short | Default | Description | |
|---|---|---|---|---|
--sdk-url | -u | http://localhost:3000/api/inngest | App serve endpoint URL(s) | |
--port | -p | 8288 | Dev Server port | |
--host | Dev Server host | |||
--no-discovery | false | Disable auto-discovery of apps | ||
--no-poll | false | Disable polling apps for changes | ||
--config | Path to configuration file | |||
--connect-gateway-port | 8289 | Connect gateway endpoint port | ||
--persist | false | Persist data between restarts | ||
--poll-interval | 5 | Seconds between app polling checks | ||
--queue-workers | 100 | Number of executor workers | ||
--retry-interval | 0 | Linear retry interval in seconds | ||
--tick | 150 | Executor queue polling interval in milliseconds |
Auto-Discovery
Without --no-discovery, the Dev Server scans common ports and endpoints automatically:
Ports scanned: Common development ports including 3000, 3030, and others
Endpoints scanned:
/api/inngest/x/inngest/.netlify/functions/inngest/.redwood/functions/inngest
Configuration File
Create an inngest.json (or .yaml, .toml) in your project root. The CLI walks up directories to find it.
Environment Variables
| Variable | Description | |
|---|---|---|
INNGEST_DEV | =1 enables Dev Mode (disables signature verification). =0 forces Cloud mode. Accepts a URL (e.g., http://localhost:8288). Defaults to Cloud mode if unset. | |
INNGEST_BASE_URL | Host for SDK-to-Inngest communication (e.g., http://localhost:8288). Leave unset in most cases. | |
INNGEST_EVENT_KEY | Authentication key for sending events. Use any dummy value locally — Dev Server does not validate. | |
INNGEST_SIGNING_KEY | Secures requests between Inngest and your app. Required in production. Determines which Inngest environment receives syncs. | |
INNGEST_SIGNING_KEY_FALLBACK | Fallback key for signing key rotation (v3.18.0+). | |
INNGEST_SERVE_ORIGIN | Full origin URL for Inngest to reach your app (e.g., https://my-app.com). Auto-inferred from request headers; set explicitly for AWS Lambda, proxies, or tunnels. | |
INNGEST_SERVE_PATH | URL path to your serve endpoint (e.g., /api/inngest). Auto-inferred in most cases. | |
INNGEST_STREAMING | Enable response streaming (true/false). Extends timeout limits on Vercel and edge runtimes. | |
INNGEST_ENV | Target Inngest Environment. Auto-detected on some platforms. |
Debugging Your Serve Endpoint
Verify your serve() endpoint is configured correctly:
If functionsFound is 0, check that your functions are passed to the serve() call.
Testing Functions Locally
Send Events via SDK
Send Events via curl
The event key in the URL path (test above) can be any value locally.
Unit Testing with @inngest/test
Requires inngest@>=4.0.0.
Mock external dependencies with your test framework's standard mocking (jest.mock, vi.mock, etc.) — @inngest/test handles only Inngest-specific mocking.
Docker Setup
Standalone
Use host.docker.internal to reach your app running on the host machine (works out of the box on Docker Desktop). On Linux, add --add-host=host.docker.internal:host-gateway or use an equivalent host-access method.
Docker Compose
Port 8288 is the main server and UI. Port 8289 is the connect() WebSocket gateway.
Critical: Set INNGEST_DEV=1 on your app — the TypeScript SDK defaults to Cloud mode, which will skip the Dev Server.
MCP Server (AI Dev Tools)
The plugins bundle inngest-cloud for OAuth access to deployed resources. Local Dev Server MCP is a separate, opt-in connection named inngest-dev. Both can be used in the same coding session. For local MCP setup or connection troubleshooting, read Local MCP setup.
Use the configured local connection for apps and runs on the Dev Server (inngest-dev by default; keep an existing connection’s name). Use inngest-cloud for deployed resources, selecting the intended account and environment. If the target is unclear, resolve it before calling either server. Never switch from local to Cloud because the local server is offline.
Read each server's live tool schemas. Local tools include app, function, event, run, and trace operations, plus embedded documentation search. Availability and inputs depend on the running Dev Server version.
inngest start — Self-Hosted Production
Runs Inngest as a self-hosted production server. Not the same as `inngest dev` — this is for production workloads.
| Flag | Short | Default | Description | |
|---|---|---|---|---|
--port | -p | 8288 | Server port | |
--signing-key | Hex key for request signing (even character count) | |||
--event-key | Authentication key for apps (repeatable) | |||
--sdk-url | -u | App serve URLs (repeatable) | ||
--redis-uri | External Redis connection | |||
--postgres-uri | External PostgreSQL connection | |||
--sqlite-dir | SQLite database directory | |||
--poll-interval | 0 | App sync polling interval (seconds) | ||
--queue-workers | 100 | Number of executor workers | ||
--connect-gateway-port | 8289 | Connect gateway port | ||
--retry-interval | 0 | Linear retry interval in seconds | ||
--tick | 150 | Executor queue polling interval in milliseconds | ||
--no-ui | Disable web UI and GraphQL API | |||
--postgres-conn-max-idle-time | 5 | PostgreSQL idle connection lifetime in minutes | ||
--postgres-conn-max-lifetime | 30 | PostgreSQL maximum connection reuse time in minutes | ||
--postgres-max-idle-conns | 10 | PostgreSQL max idle connections | ||
--postgres-max-open-conns | 100 | PostgreSQL max open connections |
Global flags such as --log-level, --verbose, and --json are also available. For environment variables, follow the current CLI and deployment docs; do not assume every flag has an INNGEST_ environment variable equivalent.
Default persistence: in-memory Redis + SQLite at ./.inngest/main.db. For production, use external Redis and PostgreSQL.
Deployment Workflow
Local Development → Production
- Develop locally with
inngest dev— no keys needed, no code changes for production - Deploy your app to your hosting platform
- Sync with Inngest using one of three methods:
- Set environment variables in production:
No code changes are needed when moving from local dev to production. The SDK automatically detects the environment.
Platform-Specific Gotchas
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/inngest-cli/SKILL.md
Popularity
- Repository stars
- 28
- Repository forks
- 5
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/inngest/inngest-skills/inngest-cli)