Product: Edgit Version: v1.0.0 Last Updated: 2025-11-01
Overview
This guide walks you through installing Edgit, initializing your repository, and creating your first versioned component. You’ll learn the core workflow in about 5 minutes.Prerequisites
- Node.js v18 or higher
 - Git v2.30 or higher
 - An existing Git repository (or create one)
 - Basic familiarity with command line
 
Installation
1
Install Edgit CLI globally
2
Navigate to your Git repository
Don’t have a repository? Create one:
3
Initialize Edgit
.edgit/components.json to track your components:Add Your First Component
1
Create a component file
Create 
src/hello.ts:2
Register the component
.edgit/components.json:3
Commit your changes
Create Your First Version
1
Create a version tag
hello-v1.0.02
Push to remote
3
View component history
Deploy to an Environment
1
Mark version as deployed
2
Check deployment status
Core Commands
Component Management
Component Management
Versioning
Versioning
Commits
Commits
Deployments
Deployments
Example Workflow
Here’s a complete workflow from development to production:Next Steps
Configuration
Configure AI providers, component types, and defaults
Component Types
Functions, agents, configs, and custom types
CLI Reference
Complete command documentation
Examples
Real-world usage patterns
Common Issues
Error: Edgit not initialized
Error: Edgit not initialized
Problem: Running commands in non-initialized repositorySolution: Run 
edgit init firstError: Not a Git repository
Error: Not a Git repository
Problem: Running edgit outside a Git repositorySolution: Initialize Git first
AI commit messages not working
AI commit messages not working
Problem: OPENAI_API_KEY not configuredSolution: Set environment variableOr create 
.env file:Related Documentation
- Installation Guide - Detailed setup instructions
 - Configuration - Environment variables and config files
 - Component Types - Understanding component categories
 - Versioning Guide - Git tag-based semantic versioning
 

