CLI for LynxPrompt - Generate AI IDE configuration files
npm install lynxpromptGenerate AI IDE configuration files from your terminal.
``bashnpm (cross-platform)
npm install -g lynxprompt
The CLI is available as both
lynxprompt and the short alias lynxp.Quick Start
`bash
Generate an AI config file (recommended for most users)
lynxp wizardQuick generation with defaults (creates AGENTS.md)
lynxp wizard -yGenerate for Cursor specifically
lynxp wizard -f cursorLogin to sync with LynxPrompt cloud
lynxp loginDownload a blueprint from marketplace
lynxp pull bp_abc123Check config status
lynxp status
`Commands
$3
Interactive wizard for generating AI IDE configurations:
`bash
Interactive mode
lynxp wizardQuick mode with defaults (generates AGENTS.md)
lynxp wizard -yGenerate for specific format
lynxp wizard -f cursor # .cursor/rules/
lynxp wizard -f agents # AGENTS.md (universal)
lynxp wizard -f copilot # .github/copilot-instructions.mdGenerate multiple formats
lynxp wizard -f agents,cursor,copilotNon-interactive with all options
lynxp wizard \
--name "my-api" \
--description "REST API for user management" \
--stack typescript,express \
--format cursor \
--persona backend \
--boundaries conservative \
--yes
`$3
Validate AI configuration files for CI/CD pipelines:
`bash
Interactive validation
lynxp checkCI mode (exit code 0=pass, 1=fail)
lynxp check --ci
`$3
Show current AI configuration and tracked blueprints:
`bash
lynxp status
`$3
Download and track a blueprint from the marketplace:
`bash
Download and track
lynxp pull bp_abc123Push local file to cloud
lynxp pushPreview content first
lynxp pull bp_abc123 --previewDon't track for future syncs
lynxp pull bp_abc123 --no-track
`$3
Connect local files to cloud blueprints:
`bash
Link existing file to blueprint
lynxp link AGENTS.md bp_abc123List all tracked blueprints
lynxp link --listDisconnect from cloud
lynxp unlink AGENTS.md
`$3
Show changes between local and cloud:
`bash
Compare with cloud blueprint
lynxp diff bp_abc123Compare local rules with exports
lynxp diff --local
`$3
Upload a local configuration file to LynxPrompt cloud:
`bash
Push current AGENTS.md (auto-detected)
lynxp pushPush a specific file
lynxp push .cursor/rules/project.mdcPush with options
lynxp push AGENTS.md \
--name "My Project Rules" \
--description "AI config for my project" \
--visibility PUBLIC \
--tags "nextjs,typescript,react"Non-interactive mode
lynxp push -y --name "My Config"
`$3
Search public blueprints in the marketplace:
`bash
lynxp search "nextjs typescript"
lynxp search react --limit 10
`$3
List your own blueprints:
`bash
lynxp list
lynxp list --visibility PUBLIC
`$3
`bash
Login (opens browser for OAuth)
lynxp loginShow current user
lynxp whoamiLogout
lynxp logout
`$3
For power users who want to generate configs for multiple AI editors at once:
`bash
Generate for multiple formats at once
lynxp wizard -f agents,cursor,copilot,windsurfManage AI agents
lynxp agents
`Blueprint Tracking
When you pull a blueprint, LynxPrompt tracks it in
.lynxprompt/blueprints.yml:- Marketplace blueprints - Read-only, can pull updates but changes won't sync back
- Team blueprints - Full sync, push and pull changes with your team
- Private blueprints - Your own, full control
`bash
See all tracked blueprints
lynxp statusOr
lynxp link --list
`Environment Variables
| Variable | Description |
|----------|-------------|
|
LYNXPROMPT_TOKEN | API token for CI/CD (skips browser auth) |
| LYNXPROMPT_API_URL | Custom API URL (for development) |CI/CD Integration
`yaml
GitHub Actions example
- name: Validate AI config
run: npx lynxprompt check --ci
``Full documentation: https://lynxprompt.com/docs/cli
See the main LynxPrompt repository for license information.