AI Automation

How to Run Everything Claude Code (ECC) on a Cloud Mac Mini: Complete Guide (2026)

MacLogin AI Automation Team May 27, 2026 ~14 min read
Everything Claude Code ECC on cloud Mac mini M4

Teams adopting Everything Claude Code (ECC) want Anthropic's Claude Code CLI plus a production harness—61 agents, 246 skills, and 76 command shims from affaan-m/ECC—on hardware that stays online. This guide's conclusion: install Claude Code on a MacLogin leased Mac mini, pick exactly one ECC install path (plugin or manual), copy only the rule packs you need, and drive sessions with ssh -t plus tmux.

Pair with Claude Code SSH PTY setup, first SSH trust, SSH keepalive troubleshooting, Multica on cloud Mac, and Mac mini rent vs buy., Cursor Rules vs Skills, Claude Opus 4.8 Super-Agent benchmark

Disclosure: MacLogin is the Mac rental provider referenced in this article. ECC steps follow official ECC documentation and Anthropic Claude Code docs as of May 2026.

Why ECC on a MacLogin Cloud Mac

ECC is the harness-native operator system for agentic work—skills, hooks, rules, memory tooling, and security scans—not a fork of Claude Code. A leased Mac mini M4 gives you native macOS, datacenter egress to api.anthropic.com, and always-on SSH while hooks and long agent loops run overnight.

Quotable rule: Never stack /plugin install ecc@ecc with npx ecc-install --profile full—ECC docs warn this duplicates skills and breaks hooks.

ECC Architecture on the Lease

SurfaceLocationRole
Claude Code CLIGlobal npm or native installAgent + OAuth/API
Plugin ecc@eccClaude marketplaceSkills, commands, hooks
Manual rules~/.claude/rules/ecc/Language/framework packs
ECC repo clone~/ECCInstall scripts, doctor, consult
State storeLocal SQLite (v2+)ecc status, sessions

Public IDs differ by channel: GitHub affaan-m/ECC, marketplace ecc@ecc, npm ecc-universal.

Prerequisites

CheckCommandPass
macOSsw_vers14+ recommended
Nodenode -vv20+
Diskdf -h ~≥20 GB free
APIcurl anthropic.comReachable

Nine-Step Runbook

Step 1 — Region and SSH

Pick HK, Tokyo, Seoul, Singapore, or US East. Complete host-key trust and client keepalive per keepalive guide.

Step 2 — Install Claude Code

npm install -g @anthropic-ai/claude-code
claude --version

Use claude auth login in an interactive shell—see PTY guidance if OAuth fails.

Step 3 — Clone ECC

git clone https://github.com/affaan-m/ECC.git
cd ECC && npm install

Step 4 — One install path only

Plugin:

/plugin marketplace add https://github.com/affaan-m/ECC
/plugin install ecc@ecc

Or minimal manual:

./install.sh --profile minimal --target claude

Advisor:

npx ecc consult "security reviews" --target claude

Step 5 — Copy rules (plugin users)

mkdir -p ~/.claude/rules/ecc
cp -R ~/ECC/rules/common ~/.claude/rules/ecc/
cp -R ~/ECC/rules/typescript ~/.claude/rules/ecc/

Step 6 — Doctor

node scripts/ecc.js list-installed
node scripts/ecc.js doctor
node scripts/ecc.js repair

Step 7 — SSH + tmux

ssh -t user@host "cd ~/ECC && claude"
tmux new -As ecc

Step 8 — Pilot commands

Try /harness-audit, /security-scan, /sessions inside Claude on the lease.

Step 9 — Offboard

Revoke keys and remove overlays at lease end via offboarding runbook.

Claude Code Auth on Shared Leases

Do not export ANTHROPIC_API_KEY in the same shell as subscription OAuth. One gateway per lease; scope keys per tenant.

Plugin vs Manual Installer

Quotable rule: Plugin users copy rules only—never run full install.sh --profile full after /plugin install.

Profiles and Hooks

  • minimal — no hooks-runtime (lowest overhead)
  • core --without baseline:hooks — add hooks later with --modules hooks-runtime
  • ECC_HOOK_PROFILE=minimal|standard|strict — runtime gating

SSH and tmux for Long ECC Loops

ECC agent loops can run 15–45+ minutes. Use tmux on the lease; cap concurrent agents at 2 on 16 GB M4 before raising parallelism.

Troubleshooting

Duplicate skills / double hooks

Symptom: Repeated skill invocations.
Cause: Plugin + full manual install.
Fix: ECC reset section on GitHub, then one path only; run ecc.js doctor.

Claude exits over SSH

Symptom: Input must be provided… --print.
Cause: Missing PTY.
Fix: ssh -tfull PTY runbook.

npm install timeout

Symptom: Registry TLS/timeout in APAC.
Cause: Home-region registry latency.
Fix: Tokyo/Singapore node; trial mirror; Node v20+.

OAuth vs API key clash

Symptom: Remote Control fails.
Cause: ANTHROPIC_API_KEY exported.
Fix: unset key; claude auth login in ssh -t.

FAQ

Is ECC the same as Claude Code?
No—Claude Code is Anthropic's CLI. ECC is a community harness adding skills, hooks, and rules on top.
Do I need ECC Pro?
No for this guide—the MIT OSS plugin and manual installers are sufficient. Pro adds hosted GitHub App features for private repos.
Can I use Linux instead?
ECC supports multiple harnesses; this guide targets macOS MacLogin leases for Apple toolchain parity.
How much RAM?
Start with 16 GB on M4; limit to 2 heavy agent sessions before monitoring memory pressure.
Where is ECC state stored?
On the leased Mac disk (SQLite in recent ECC versions)—not in MacLogin's control plane unless you opt into ECC Tools cloud features.
MacLogin AI Automation Team
Experts in Claude Code, ECC harness setup, and Apple Silicon cloud runtimes.

Rent a cloud Mac for ECC + Claude Code

Deploy in HK, JP, KR, SG, or US East with SSH in minutes.