Product: Edgit Version: v1.0.0 Last Updated: 2025-11-01
Prerequisites
Before installing Edgit, ensure you have:- Node.js v18.0.0 or higher
 - npm v8.0.0 or higher (comes with Node.js)
 - Git v2.30.0 or higher
 - A Unix-like shell (bash, zsh) or Windows PowerShell
 
Check Prerequisites
Installation Methods
- npm (Global)
 - npm (Project-Local)
 - From Source
 
Install Edgit globally to use it across all projects:Verify installation:Recommended for: Individual developers and most use cases
Platform-Specific Setup
Windows
Windows
Using npm (PowerShell)
Using scoop (Coming Soon)
Troubleshooting
If you encounter errors related to git commands:- Ensure Git is installed: git-scm.com
 - Restart your terminal after installing Git
 - Verify Git is in PATH: 
git --version 
Initial Setup
After installation, initialize Edgit in your repository:1
Navigate to your repository
2
Initialize Edgit
.edgit/components.json:3
Commit the registry
4
Verify setup
Optional: AI Configuration
To enable AI-powered commit messages, configure an OpenAI API key:- Environment Variable
 - .env File
 - Per-Command
 
Updating Edgit
- Global Installation
 - Project Installation
 - From Source
 
Uninstalling
- Global Installation
 - Project Installation
 - From Source
 
Verification
After installation, verify everything works:Troubleshooting
Command not found: edgit
Command not found: edgit
Problem: Shell can’t find edgit commandSolutions:
- Verify installation: 
npm list -g @ensemble/edgit - Check npm global bin path: 
npm config get prefix - Add to PATH:
 - Restart terminal
 
EACCES permission errors
EACCES permission errors
Problem: No permission to install globallySolutions:
- Use nvm (recommended):
 - Fix npm permissions:
 - Use project-local installation instead
 
Git command not found
Git command not found
Problem: Edgit can’t find GitSolutions:
- Install Git: git-scm.com
 - Verify installation: 
git --version - Restart terminal
 - Check PATH includes Git
 
AI features not working
AI features not working
Problem: AI commit messages failingSolutions:
- Verify API key: 
echo $OPENAI_API_KEY - Check key format: Should start with 
sk- - Test API key:
 - Check for .env file in project root
 

