Install
Two paths. Pick one:
- Laptop or Mac. You run Claude Code in a terminal and talk to it there. Good for one app at a time.
- Ubuntu VPS. Workers stay on day and night and you talk to them over Telegram. See also ALWAYS-ON.md.
Both paths end with the same three commands: clone, kappmaker-army init, kappmaker-army doctor.
1. Prerequisites
| Tool | Why | Check |
|---|---|---|
| Claude Code 2.x | runs every agent | claude --version |
| Your own Claude plan or API key | Claude usage is yours, never resold | sign in once with claude |
| git, curl | kit updates, repos | git --version |
| Python 3 (+ PyYAML) | guard hook, renderer, concepts index | python3 -c 'import yaml' |
| Node 18+ | project board, Play keyword tool | node --version |
| bash 4+ | most army commands (macOS ships 3.2) |
bash --version |
| JDK 17 (Temurin) | Kotlin Multiplatform builds | java -version |
| Android SDK | Android builds; set ANDROID_SDK_ROOT |
ls $ANDROID_SDK_ROOT/platform-tools |
| tmux | always-on workers | tmux -V |
| jq | Stitch tools | jq --version |
| flock (optional) | build lock; the tools fall back to mkdir locks | flock --version |
| cloudflared (optional) | preview links, public board link | cloudflared --version |
kappmaker-army doctor checks all of these later and tells you what is missing.
2a. Laptop or Mac
Install the toolchain. On a Mac with Homebrew:
brew install bash git jq tmux python node cloudflared coreutils
brew install --cask temurin@17
brew install --cask android-commandlinetools # then set ANDROID_SDK_ROOT in your shell profile
pip3 install pyyaml
curl -fsSL https://claude.ai/install.sh | bash # Claude Code (or: npm i -g @anthropic-ai/claude-code)
claude # sign in once with your own account, then /exit
On a Linux desktop use your package manager for the same list.
Then install App Army:
git clone <your App Army repo> ~/app-army # the private repo you got access to
bash ~/app-army/kit/cli/army-init # a few questions; Enter keeps the default
kappmaker-army doctor # open a new shell first so ~/.army/bin is on PATH
2b. Ubuntu VPS (22.04 or 24.04)
A box with 4 vCPU and 8 GB RAM is the floor for one worker plus Gradle builds.
scp -r app-army root@<box>:/opt/app-army
ssh root@<box> 'bash /opt/app-army/kit/installer/setup-vps.sh --user army --kit /opt/app-army/kit --firewall'
setup-vps.sh installs the system packages, Node 22, JDK 17, the Android SDK, cloudflared and Claude Code for
the army user, adds swap if the box has none, and installs the systemd unit templates. Try --dry-run first if
you want to see every step. It never asks for a secret.
Then, as the army user:
ssh army@<box>
claude # sign in once with your own account, then /exit
bash /opt/app-army/kit/cli/army-init # say "yes" to Telegram if you want always-on workers
kappmaker-army doctor
Workers come next. Follow ALWAYS-ON.md.
3. What kappmaker-army init asks
Projects folder, App Army data folder, app id prefix (com.yourcompany), support email, company name, legal
site, GitHub owner, worker names, and whether workers use Telegram. It never asks for a secret. It tells you
which file each secret goes in.
Run it without questions:
kappmaker-army init --yes --app-id-prefix com.yourcompany --support-email help@yourcompany.com --github-owner you
kappmaker-army init --help lists every flag. You can re-run it any time. Your answers and your edits are kept. When a
kit file changed and you also edited your copy, the new one is written next to yours as <file>.army-new.
What it creates is listed in CONFIG.md.
4. Skills and plugins
kappmaker-army init renders the 15 agents into ~/.claude/agents/ and wires the guard hook. The skills ship as Claude Code
plugins in kit/plugins/ (army-core, army-factory, army-pro). Add the kit as a plugin marketplace from
inside Claude Code and install the three plugins:
/plugin marketplace add ~/app-army
/plugin install army-core@app-army
/plugin install army-factory@app-army
/plugin install army-pro@app-army
When the army-core plugin is on, kappmaker-army init skips its own copy of the guard hook because the plugin carries
the same one.
5. Third-party tools (installed from upstream)
App Army never copies other people's code into the kit. You install each piece from its own source, under its own
licence. Full list with licences: THIRD_PARTY.md.
Needed for the full pipeline
npm i -g kappmaker # store, Firebase, Adapty, build and publish steps
kappmaker config init # asks for your own store and service credentials
Google Stitch (design step): create an API key in your Google account and save it, readable only by you:
mkdir -p ~/.config/stitch && chmod 700 ~/.config/stitch
nano ~/.config/stitch/api_key && chmod 600 ~/.config/stitch/api_key
Needed for always-on workers (Telegram)
The official Telegram plugin, from Anthropic's plugin marketplace. In Claude Code:
/plugin install telegram@claude-plugins-official
Optional
| Tool | Install | Note |
|---|---|---|
| claude-mem (memory across sessions) | ~/.army/bin/runner/army-claude-mem-install |
Apache-2.0 in current releases. Uses your own Claude usage |
| ui-ux-pro-max (design rules) | from github.com/nextlevelbuilder/ui-ux-pro-max-skill | MIT |
| taste-skill family (design taste rules) | from github.com/Leonxlnx/taste-skill | MIT |
| hyperframes (video, explainers) | npx skills add heygen-com/hyperframes |
Apache-2.0 |
| playwright-cli (landing page checks) | from github.com/microsoft/playwright-cli | Apache-2.0 |
| faster-whisper (voice notes) | a venv in $WHISPER_DIR with pip install faster-whisper |
MIT |
| Kokoro TTS (voice replies) | pip install kokoro-onnx + the model |
pulls in GPL-3.0 phonemizer parts; install it yourself, never redistribute |
| tapdance (device E2E) | from github.com/mirzemehdi/tapdance |
Mentor tier: the Play keyword tool lives in the app-army-mentor repo. Run npm install in its
play-keywords/ folder. It scrapes Google Play; read the FAQ note on that first.
6. Check
kappmaker-army doctor # one line per check: ok / warn / FAIL
kappmaker-army doctor --strict # warnings fail too
A FAIL on guard-hook means no worker may run with skip-permissions until you fix it. See SAFETY.md.
7. Update
kappmaker-army update # git pull --ff-only the kit, re-render (your edits kept), then doctor
Then, inside Claude Code, /plugin marketplace update to refresh the plugins.
Uninstall
There is no uninstall script. To remove App Army: delete ~/.army, the $ARMY_HOME folder (default
~/projects/.army, this holds your ideas, keywords and lessons, so back it up), the rendered agents in
~/.claude/agents/ whose header says "generated", and the two hooks kappmaker-army init added to
~/.claude/settings.json (a backup is in settings.json.army-backup). Remove the plugins with /plugin.
Docs for the App Army kit. The Claude Code plugin has its own page.