Overview
This quickstart guide will get you from zero to your first ArcKit command in under 5 minutes. You’ll:- Install ArcKit CLI
- Initialize a project
- Run your first command
This guide uses OpenCode CLI as the example. For Claude Code or Gemini CLI, see the Installation guide.
Step 1: Install ArcKit CLI
Install ArcKit CLI using pip or uv:Prefer uv for faster installs and better dependency management. Install uv with:
Step 2: Initialize Your Project
Create a new architecture governance project:- Project structure:
projects/000-global/for global principles - Templates:
.arckit/templates/for all document templates - Commands:
.opencode/commands/for all 54 ArcKit commands - Scripts:
.arckit/scripts/bash/for automation helpers - Documentation:
docs/with guides and references
What's created?
What's created?
Step 3: Set Up Environment
Set theOPENCODE_HOME environment variable so OpenCode can discover project-specific commands:
direnv automatically loads environment variables when you
cd into the project directory. This is the recommended approach.Add this to your shell profile (.bashrc, .zshrc, etc.):Step 4: Start OpenCode
Launch OpenCode CLI:.opencode/commands/.
Step 5: Run Your First Command
Inside OpenCode, establish architecture principles for your organization:- Analyze your context (financial services, payments, compliance)
- Generate comprehensive architecture principles
- Save to
projects/000-global/ARC-000-PRIN-v1.0.md
View full principles example
View full principles example
See the M365 GCC-H Migration principles from the ArcKit test repository for a complete example.
What’s Next?
Now that you’ve established principles, follow the ArcKit workflow:Example Projects
Explore complete ArcKit deliverables in public demonstration repositories:- NHS Appointment Booking — arckit-test-project-v7-nhs-appointment: Digital health platform with NHS Spine integration and GDPR safeguards
- M365 GCC-H Migration — arckit-test-project-v1-m365: Government cloud migration with compliance mapping
- Cabinet Office GenAI Platform — arckit-test-project-v9-cabinet-office-genai: Cross-government GenAI platform with responsible AI guardrails
- UK Government API Aggregator — arckit-test-project-v19-gov-api-aggregator: Unified access to 240+ UK Government APIs
Template Customization
Customize ArcKit templates without modifying defaults:- Default templates live in
.arckit/templates/(refreshed byarckit init) - Your customizations go in
.arckit/templates-custom/(preserved across updates) - Commands automatically check for custom templates first, falling back to defaults
Getting Help
Inside your AI assistant, run:- Project status detection
- Available commands exploration
- Next step recommendations based on your current artifacts
Need More Help?
- Documentation: ArcKit GitHub Repository
- Issues: Report bugs or request features
- Examples: Browse all 14+ test repositories
Summary
You’ve successfully: ✅ Installed ArcKit CLI✅ Initialized a project
✅ Set up your environment
✅ Run your first command (architecture principles)
✅ Learned the ArcKit workflow Next, explore the Why ArcKit? page to understand the problems ArcKit solves.