Visual debugging for AI coding agents - CLI
npm install @eyeglass/cliCLI for initializing Eyeglass in your project.
``bash`
npx @eyeglass/cli init
This single command will:
1. Install @eyeglass/inspector as a dev dependency.claude/settings.json
2. Create with MCP server configuration
3. Configure your bundler (Vite, Next.js, CRA, or Remix)
`bash`
npx @eyeglass/cli init --dry-run # Preview changes without making them
npx @eyeglass/cli init --skip-install # Skip installing @eyeglass/inspector
npx @eyeglass/cli help # Show help
| Framework | Auto-Detection | Component Names | File Paths |
|-----------|:--------------:|:---------------:|:----------:|
| Vite | ✓ | ✓ | ✓ |
| Next.js | ✓ | ✓ | ✓ |
| CRA | ✓ | ✓ | ✓ |
| Remix | ✓ | ✓ | ✓ |
1. Start your dev server (npm run dev)claude
2. Run in your project directorywatch eyeglass
3. Tell Claude: or eg`
4. Select elements in your browser and submit requests!
See the main repo for full documentation.