Quick Start Guide
Get your first project live in under 5 minutes.
Prerequisites
Before you begin, ensure you have the following:
- Node.js 18+ or Deno 1.30+
- Git 2.30+ installed and configured
- An active .git account
- Basic familiarity with command-line interfaces
Install the CLI
Install the official @dotgit/cli package globally using your preferred package manager.
npm install -g @dotgit/cli
# or
yarn global add @dotgit/cli
# or
pnpm add -g @dotgit/cli
Verify the installation by running git --version. You should see output similar to .git CLI v2.4.0.
Initialize Your Project
Navigate to your project directory and run the interactive setup wizard. It will detect your framework and auto-generate configuration files.
cd your-project-directory
git init
Configure Environment
Set your environment variables securely. The CLI supports .env files, Vault integration, and inline configuration.
PORT=3000
DATABASE_URL=postgresql://user:pass@localhost/dbname
NODE_ENV=production
API_KEY=${YOUR_API_KEY}
Apply your configuration to your workspace:
git env sync --workspace production
Deploy & Verify
Push your changes and trigger an automated deployment. The CLI will build, test, and deploy to your selected environment.
git push origin main
git deploy --prod --wait
Once complete, your app will be live at your custom domain or *.git.dev subdomain. Open the terminal output link to verify.