Quick start
The TUI is aic’s primary entry point. Once installed, run aic in your terminal to enter the unified interface (Skills / Contexts / MCP / Ops / Env / Permission / Provider — seven panels in total). CLI commands are mainly for scripting, remote environments, and CI integration.
Prerequisites
| Requirement | Notes |
|---|---|
git | Required. aic clones the Registry cache via git |
| TTY terminal | Required for TUI mode; non-TTY (e.g. CI) falls back to text |
| At least one AI tool | Claude Code / Codex CLI / Gemini CLI / OpenCode — install one |
1. Install
Download the archive for your platform from the Release page, then unpack it onto your PATH:
- GitHub Releases (overseas): https://github.com/KaiyuanEra/aic-registry/releases
- Gitee Releases (China): https://gitee.com/KaiyuanEra/aic-registry/releases
# Example: macOS arm64
tar -xzf aic_<version>_darwin_arm64.tar.gz
sudo mv aic /usr/local/bin/
aic --version
A one-line installer (with Gitee / GitHub mirror switching and version pinning) is in preparation.
Windows (Beta)
Windows is currently in Beta: one-line install and tar.gz release archives are not yet available. Watch the Releases pages above for Windows artifacts. Without admin privileges or Developer Mode, Skill distribution falls back to managed copy sync and creates no symlinks.
2. Launch the TUI
Always run
aicfrom your project root. aic resolves project config (.aic/) and managed files (CLAUDE.md/AGENTS.md/GEMINI.md) relative to the current working directory. Running from the wrong directory causesinit/sync/contextoperations to write to the wrong location — config may land in unrelated directories or fail to take effect.cdinto your project root before runningaic.
aic
After TTY detection the TUI starts automatically; non-TTY environments (such as CI) fall back to plain text output. Cycle through seven panels with tab / shift+tab, jump quickly with h / l.
3. Switch Registry mirror (optional)
By default aic pulls from Gitee (CN-friendly). To switch to GitHub or a private registry:
- In the TUI, press
,or click the⚙icon in the top-right corner - In the Registry settings, switch mirror or enter your private registry address
- Save — the next
syncwill pull from the new address
You can also edit ~/.aic/config.toml directly (see Configuration and paths).
4. Initialize the project
The first time you enter the TUI, trigger init from the Ops panel (or run aic init via CLI).
aic init will:
- Detect installed Claude / Codex / Gemini / OpenCode clients
- Create
.aic/and.aic/.aicrcin the project root - Update
.gitignoreto exclude.aic/.aic-env
5. Install your first Skill
From the TUI’s Skills panel: select git-commit, press i to install, then s to sync.
Or via CLI:
aic install git-commit && aic sync
6. Check environment variables
From the TUI’s Env panel, press c to validate. Or via CLI:
aic env check
Lists the variables required by the active Context and any env-required Skills.
7. Activate a project Context
From the TUI’s Contexts panel: use a / s to browse and activate a Context.
Or via CLI:
aic context list
aic context use 02-iteration-evolution
A project can have at most one active Context. Switching Context updates the AIC managed block in declared target files (CLAUDE.md / AGENTS.md / GEMINI.md).
8. Restart AI tool clients after changes
After installing or updating a Skill / MCP / Context, or switching Provider / Permission, you must restart Claude Code / Codex CLI / Gemini CLI / OpenCode for the new configuration to take effect — these tools read their config files only once at startup; a running session does not pick up changes automatically.
Want to keep your current conversation context? Restart by resuming the conversation: exit the client, then use the tool’s resume / continue feature to restore the previous session. The new config takes effect in the fresh session while your conversation history is preserved.
Without a restart, newly installed Skills / MCP / Context or switched Provider / Permission settings will not be picked up by the current session — the tool keeps using the old configuration.
Next steps
- Read Core concepts to understand the nine concepts and how they map to TUI panels.
- Read Shortcuts and commands for TUI key bindings and the CLI cheat sheet.
- Read Configuration and paths to see where files land locally.