Install and configure AnywhereAI for the user. ALWAYS confirms whether they want Full Local Mode or Remote 24/7 Linux Server + Client first, then executes prebuilt installation, HTTPS setup, health verification, and 1-click desktop/mobile pairing.
3 stars
0 votes
0 copies
0 views
Added December 5, 2026
ai-agentsnodeapifrontend
Works with
claude code
cursor
cli
api
Security analysis
B75/100
criticalAccesses sensitive system or user directories
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Install Anywhereai?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/fanzy27-install-anywhereai)
---
name: install-anywhereai
description: Install and configure AnywhereAI for the user. ALWAYS confirms whether they want Full Local Mode or Remote 24/7 Linux Server + Client first, then executes prebuilt installation, HTTPS setup, health verification, and 1-click desktop/mobile pairing.
whenToUse: Use whenever the user asks to install, deploy, set up, upgrade, or configure AnywhereAI.
---
# Install & Configure AnywhereAI
Follow the complete, zero-ambiguity protocol in [`docs/AGENT_INSTALL.md`](../../../docs/AGENT_INSTALL.md).
## Architecture (Read First)
- **Server**: Runs Chief, Project Bots, source monitors, and the synced Markdown vault 24/7. Recommended on an always-on Linux server.
- **Desktop Client (`macOS` / `Windows` / `Linux`)**: Both the user's frontend UI and the node that connects local work agents (`Claude Code`, `OpenAI Codex`, `Cursor`, `Antigravity`, `DeepSeek Harness`, `CodeBuddy`; other ACP CLI agents theoretically compatible). Also bundles a local server for single-machine trials.
- **Mobile Client (`iOS` / `Android`)**: Official mobile app paired to the same Server.
## Mandatory First Step (Never Skip)
1. Perform a read-only local scan (`uname -sm`, list `~/.ssh/config` host aliases and `~/.ssh` key filenames — **never** read private key contents).
2. Ask the user to confirm:
- **Option A — Remote 24/7 Server + Client (Recommended)**: Prebuilt single-bundle Linux server (`Core + Web + Chief + automatic HTTPS`) + desktop client (UI + local work-agent node) with 1-click `anywhereai://connect` pairing.
- **Option B — Single-Machine Local Mode (Quick Trial)**: Prebuilt desktop installer running its built-in local server on this computer. Zero external server required; pauses when this computer sleeps.
3. Never compile from source unless explicitly requested. Never ask for SSH passwords or raw private keys in chat. Always list remote server changes and get confirmation before executing `install-server.sh`.
4. **Mandatory Chief (Super Agent) Gate**: Never consider a server install complete just because `/healthz` responds `200 OK`. Always verify `anywhereai-chief` is active, `/var/lib/anywhereai-chief/node/device-token.json` exists, `/var/lib/anywhereai-chief/node/status.json` is `awaiting_model` or `online` (not `error`), and after desktop connects & saves a Model API confirm `GET /api/v1/server/chief-model` returns `200` with `chiefOnline: true`. See `docs/AGENT_INSTALL.md` Phase 3 for all known pitfalls (missing `node-addon-require-builtin-linux-*-gnu` native binding, v0.1.0 HTTP 500 `revoked` column bug, expired `AA_PAIR_CODE`, `/root` & `/home` Node `203/EXEC` under `ProtectHome=true`, `--behind-nginx` & safe whole-block Nginx editing + stale `/etc/nginx/default.d/anywhereai-acme.conf`, `E_CONNECTION_FAILED` vs `E_DEVICE_OFFLINE` vs `E_PAIRING_INVALID`, low-RAM OOM).
5. **Upgrading Existing Installs (Server & Client Installers)**: Follow `docs/AGENT_INSTALL.md` Phase 2.6 — upgrade the Server first by inspecting `/etc/anywhereai/core.env` for existing domain/tunnel/intranet flags and re-running `install-server.sh` in place (preserves DB, Vault, certs, pairings, and auto-heals Chief), then overwrite-install the latest Desktop/Mobile installer (all local settings & pairings stay intact; no re-pairing needed).