spawn/cli/src/aws
A 57d4ee7eeb
fix: drop apt nodejs/npm, install Node 22 directly via n (#1746)
apt-get install nodejs npm pulls in hundreds of node-* packages
(libhwasan, node-jsonify, node-eslint-utils, etc.) adding 60-90s
to cloud-init. We immediately replace it with Node 22 via n anyway.

Fix: bootstrap n directly from curl and install Node 22 in one step.
No apt nodejs/npm needed.

Before: apt install nodejs npm → npm install -g n → n 22 (slow)
After:  curl n | bash -s install 22 (fast, no apt bloat)

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-22 12:40:22 -08:00
..
agents.ts refactor: deduplicate AWS/Fly agent setup into shared modules (#1700) 2026-02-22 08:40:21 -08:00
aws.ts fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
main.ts feat: customize cloud-init per agent to fix boot timeouts (#1733) 2026-02-22 11:43:45 -08:00