A practical guide to using Lima (Linux Machines) to create a sandboxed VM environment for running AI coding agent CLIs like Claude Code, Codex CLI, and Augment Code's Auggie. The setup mounts only the project directory into the VM, preventing agents from accessing anything else on the host machine. Includes a full sandbox.yaml configuration, an install script that sets up mise, Node.js, and all three AI agent CLIs, plus shell aliases for convenience. Also covers connecting the VM to host-side services like databases using host.lima.internal, and tips for managing multiple projects.
Table of contents
LimaVM ConfigurationCreating and Running the VMRun Commands in the VMMultiple ProjectsConclusion1 Comment
Sort: