mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 21:36:40 -10:00
devvm size shows this folder's VM's CPUs, memory and disk (cpus=4 memory=8GiB disk=100GiB), with a note when a change waits for its next start; --cpus, --memory and --disk change them, at once for a stopped VM, from its next start for a running one. Disks only grow; more than this machine has is refused. -g/--global shows (cpus=, memory=, disk= lines) or changes the size new VMs get (~/.config/devvm/size), keeping what it leaves unset. A change checks the backend's features first. - vm: Env.ShowSize, Env.SetSize, SizeText, pendingSize (also used by applySize), defaultSize (also used by up), folderVM (shared by ports, ssh-agent and size) - messages: vm_size, size_pending, size_defaults, no_vm_size, size_failed; size_flags_ignored names devvm size - tests: size.txtar (show, set, running vs stopped, -g, a hand-edited size file, refusals), TestSetSize, TestSizeText; the limactl stub's edit applies --cpus/--memory/--disk; e2e project: a new VM gets its size, devvm size shows it, a running VM's new size waits for restart then applies, a smaller disk is refused - docs: images.md Size and Disk use, commands.md rows, CLI reference Co-Authored-By: Claude Opus 5.5 <[email protected]>
1.6 KiB
1.6 KiB
title, weight
| title | weight |
|---|---|
| devvm ssh-agent keys | 30 |
List the keys in devvm's own SSH agent
Synopsis
List the keys devvm's own SSH agent holds, as ssh-add -l does, loading those it lacks first, then each key added to it: its file, its fingerprint and how it's loaded.
devvm ssh-agent keys [flags]
Options
-h, --help help for keys
Options inherited from parent commands
--backend NAME the NAME of the backend a new VM or image gets (default: the default backend file's, else lima)
--cpus N the N CPUs a new VM gets (default: the size file's, else the image's)
--disk GiB a new VM's disk in GiB, at least the image's (default: the size file's, else the image's)
--from IMAGE the container IMAGE a new VM's or image's base starts from instead of Ubuntu's cloud image: node:24, debian:13, ghcr.io/org/image@sha256:… (default: $DEVVM_FROM's)
--memory GiB a new VM's memory in GiB: 16, 16G or 16GiB (default: the size file's, else the image's)
--network-policy create the VM with network policy: it reaches only an allowlist of hosts, through a proxy on this machine, and your tokens stay here (default: ask in a terminal, else off)
--no-network-policy create the VM without network policy: it reaches anything this machine can
--ports PORTS which PORTS a new VM forwards to this machine's localhost: all, none, or a list like 5173,8000-8010 (default: the ports file's, else all)
See also
- devvm ssh-agent: Show or change SSH agent forwarding for this folder's VM