Prerequisites
You need:- Node.js 18+ (nodejs.org)
- Git 2.30+ (probably already installed)
Getting Started
No installation needed - usenpx to run Edgit:
Initialize in Your Repo
.edgit/components.json:
Optional: AI-Powered Commits
Want AI to generate your commit messages? Add an OpenAI API key:Troubleshooting
Command not found: edgit
Command not found: edgit
Your PATH doesn’t include npm global bin directory.Fix:
Permission errors (EACCES)
Permission errors (EACCES)
Don’t have permission to install globally.Fix (recommended): Use Or use nvm to manage Node.js:
npx instead of global install:AI commits not working
AI commits not working
API key isn’t set or is invalid.Check:Test the key:If that fails, your key is invalid. Get a new one at platform.openai.com.

