Skip to content

Install

DVM is a small Bash wrapper around Lima. It creates and starts Lima instances, keeps host files out of the guest, creates a dev user, and runs your own setup scripts. Tool installation lives in those scripts.

  • Bash
  • Lima 2.0 or newer
Terminal window
git clone https://github.com/eshlox/dvm.git dvm
cd dvm
./install.sh # symlinks bin/dvm into ~/.local/bin (override with PREFIX)

install.sh only creates a symlink to bin/dvm. Set PREFIX to install somewhere else:

Terminal window
PREFIX="$HOME/bin" ./install.sh

Make sure the install directory is on your PATH, then check the install:

Terminal window
dvm version
  • no host mounts
  • VM <name> maps to Lima instance dvm-<name>
  • code lives at /home/<user>/code/<vm>
  • config in ~/.config/dvm
  • setup scripts are ownership/permission checked before they run

Next: Quickstart.

Built and maintained by eshlox.