mirror of
https://github.com/devvmhq/docs-next.git
synced 2026-12-01 06:23:22 -10:00
3548 lines
423 KiB
XML
3548 lines
423 KiB
XML
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>devvm – CLI reference</title><link>https://next.devvm.dev/docs/cli/</link><description>Recent content in CLI reference on devvm</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://next.devvm.dev/docs/cli/index.xml" rel="self" type="application/rss+xml"/><item><title>devvm</title><link>https://next.devvm.dev/docs/cli/devvm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm/</guid><description>
|
||
<p>Open a shell in this folder&rsquo;s VM, creating it first</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Open a shell in this folder&rsquo;s VM, at the same path, and create the VM first when the folder has none. devvm shows what a new VM gets, and in a terminal you can customize its toolchains, coding agents, layers, tier, ports and size, which &ndash;tools, &ndash;agents, &ndash;layers, &ndash;network, &ndash;ports, &ndash;cpus, &ndash;memory and &ndash;disk choose without asking. The VM mounts only this folder read-write, and with &ndash;clone it gets its own clone of the repo instead.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm # open this folder&#39;s VM, choosing what a new one gets
|
||
</span></span><span class="line"><span class="cl"> devvm --agents claude # create the VM with Claude Code and the toolchains the folder needs
|
||
</span></span><span class="line"><span class="cl"> devvm --tools node --agents none --layers docker # create the VM with node and the docker layer alone
|
||
</span></span><span class="line"><span class="cl"> devvm --clone # create the VM with its own clone of this repo
|
||
</span></span><span class="line"><span class="cl"> devvm ls # list every VM</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --agents LIST the LIST of coding agents a new VM gets, such as claude,codex, or none (default: devvm setup&#39;s)
|
||
</span></span><span class="line"><span class="cl"> --clone create the VM with its own clone of this repo, or of each repo in this folder, instead of mounting the folder
|
||
</span></span><span class="line"><span class="cl"> --cpus N the N CPUs the VM gets (default: devvm size -g, else the image&#39;s)
|
||
</span></span><span class="line"><span class="cl"> --disk GiB the VM&#39;s disk in GiB, at least the image&#39;s (default: devvm size -g, else the image&#39;s)
|
||
</span></span><span class="line"><span class="cl"> --from IMAGE the container IMAGE base starts from, such as node:24, instead of Ubuntu&#39;s cloud image (default: $DEVVM_FROM)
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for devvm
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --layers LIST the LIST of layers a new VM&#39;s image gets, bottom first, such as docker,mine, or none (default: devvm setup&#39;s)
|
||
</span></span><span class="line"><span class="cl"> --memory GiB the VM&#39;s memory in GiB, such as 16 or 16G (default: devvm size -g, else the image&#39;s)
|
||
</span></span><span class="line"><span class="cl"> --network TIER the network TIER a new VM gets: open, internet, allowlist or none, or learn for internet while it learns the hosts it needs (default: devvm network -g&#39;s, else allowlist)
|
||
</span></span><span class="line"><span class="cl"> --no-devcontainer create the VM without reading the folder&#39;s devcontainer.json
|
||
</span></span><span class="line"><span class="cl"> --no-git-protect create the VM without .git protection
|
||
</span></span><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --ports PORTS the PORTS the VM forwards: all, none or a list like 5173,8000-8010 (default: devvm ports -g, else all)
|
||
</span></span><span class="line"><span class="cl"> --repos LIST the repos a --clone VM of a folder of repos gets: all, none or a LIST of their paths, such as frontend,backend (default: a picker in a terminal)
|
||
</span></span><span class="line"><span class="cl"> --ssh-agent create the VM with your SSH agent forwarded, so anything in it can use your keys while you&#39;re connected
|
||
</span></span><span class="line"><span class="cl"> --ssh-config add devvm&#39;s Include line to ~/.ssh/config without asking
|
||
</span></span><span class="line"><span class="cl"> --tools LIST the LIST of toolchains a new VM gets, such as node,python, or none (default: those the folder&#39;s files call for)
|
||
</span></span><span class="line"><span class="cl"> --unsafe-folder mount a folder devvm refuses, such as your home folder
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line
|
||
</span></span><span class="line"><span class="cl"> --version print devvm&#39;s version</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/getting-started/commands/">The docs page for devvm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_adopt/">devvm adopt</a>: Give this folder the VM made for an earlier folder or path</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent/">devvm agent</a>: Fill devvm&rsquo;s store of the agents&rsquo; settings and logins that every VM gets</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_build/">devvm build</a>: Build an image and the images under it, unless they&rsquo;re built</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_clone/">devvm clone</a>: Show or change whether this folder&rsquo;s VM has its own clone of the repo</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_code/">devvm code</a>: Open this folder&rsquo;s VM in VS Code over Remote-SSH</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_completion/">devvm completion</a>: Print the shell completion script for bash, zsh or fish</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_cursor/">devvm cursor</a>: Open this folder&rsquo;s VM in Cursor over Remote-SSH</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_desktop/">devvm desktop</a>: Open this folder&rsquo;s VM&rsquo;s desktop in a VNC viewer</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_doctor/">devvm doctor</a>: Check what devvm needs on this machine</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_gc/">devvm gc</a>: Delete stale images, unused tools, old files and the Nix cache over its cap</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_git-protect/">devvm git-protect</a>: Show or change .git protection for this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_group/">devvm group</a>: Show the group this folder&rsquo;s VM is in</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_history/">devvm history</a>: List the saved exports of agents&rsquo; history</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_host/">devvm host</a>: Get this folder&rsquo;s VM ready for ssh and editors, and show its host name</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_images/">devvm images</a>: List the images and the shared tools</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer/">devvm layer</a>: Make image layers of your own, or change this folder&rsquo;s VM&rsquo;s layers</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_limactl/">devvm limactl</a>: Run Lima&rsquo;s limactl for debugging, which starts VMs unconfined, whatever their tier</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link/">devvm link</a>: List this folder&rsquo;s VM&rsquo;s links to your other VMs</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ls/">devvm ls</a>: List the project VMs</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_mount-cache/">devvm mount-cache</a>: Show or change how this folder&rsquo;s VM caches its project folder</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_paste/">devvm paste</a>: Send the clipboard&rsquo;s image, PDF or copied file to this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ports/">devvm ports</a>: Show or change which ports this folder&rsquo;s VM forwards</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_rebuild/">devvm rebuild</a>: Build an image again, and delete the old one</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_restart/">devvm restart</a>: Restart this folder&rsquo;s VM and open a shell in it</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_retention/">devvm retention</a>: Show or change what devvm deletes on its own</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_rm/">devvm rm</a>: Delete this folder&rsquo;s VM, or a VM whose folder is gone</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_secret/">devvm secret</a>: List the secrets kept on this machine, for VMs to use</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_setup/">devvm setup</a>: Choose base&rsquo;s features, and new VMs&rsquo; size, network tier, coding agents and layers</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_size/">devvm size</a>: Show or change this folder&rsquo;s VM&rsquo;s size</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_space/">devvm space</a>: Show what devvm keeps on this machine and the space it takes</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ssh-agent/">devvm ssh-agent</a>: Show or change SSH agent forwarding for this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_stop/">devvm stop</a>: Stop this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_tools/">devvm tools</a>: Show or choose this folder&rsquo;s VM&rsquo;s shared tools</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_update/">devvm update</a>: Bring this folder&rsquo;s VM up to date, then open a shell in it</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_upgrade/">devvm upgrade</a>: Install devvm&rsquo;s newest release</li>
|
||
</ul></description></item><item><title>devvm adopt</title><link>https://next.devvm.dev/docs/cli/devvm_adopt/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_adopt/</guid><description>
|
||
<p>Give this folder the VM made for an earlier folder or path</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Give this folder the VM made for an earlier folder at this path, or for this folder before you moved or renamed it, with its files, secrets and allowlist. With VM, its name as devvm ls lists it, devvm moves that VM here from a folder that&rsquo;s gone, such as one you copied to another disk. devvm asks first in a terminal without &ndash;no-input.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm adopt [VM] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm adopt # give this folder the VM, after asking
|
||
</span></span><span class="line"><span class="cl"> devvm adopt --force # give it without asking, as a script must
|
||
</span></span><span class="line"><span class="cl"> devvm adopt devvm-web-71a99b1076d92c # move that VM here from a folder that&#39;s gone, after asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for adopt</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/vms/#a-folder-made-again">The docs page for devvm adopt</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm agent</title><link>https://next.devvm.dev/docs/cli/devvm_agent/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_agent/</guid><description>
|
||
<p>Fill devvm&rsquo;s store of the agents&rsquo; settings and logins that every VM gets</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>devvm keeps the coding agents&rsquo; settings in ~/.config/devvm/agents and their logins in ~/.local/share/devvm/logins, and every VM with an agent gets them from there, never from the agents&rsquo; own files in your home folder. devvm agent login saves a login made in this folder&rsquo;s VM, devvm agent import copies those files into the store once, and devvm agent save copies a VM&rsquo;s settings into it.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm agent [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm agent login codex # log Codex in, in this folder&#39;s VM, for every VM
|
||
</span></span><span class="line"><span class="cl"> devvm agent import # copy every agent&#39;s settings and logins from this machine
|
||
</span></span><span class="line"><span class="cl"> devvm agent import codex # copy only Codex&#39;s
|
||
</span></span><span class="line"><span class="cl"> devvm agent save # copy the settings of this folder&#39;s VM&#39;s agents, after showing what changed</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for agent</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#devvms-agent-store">The docs page for devvm agent</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent_import/">devvm agent import</a>: Copy the agents&rsquo; settings and logins from this machine into devvm&rsquo;s store</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent_login/">devvm agent login</a>: Log an agent in, in this folder&rsquo;s VM, and save the login in devvm&rsquo;s store</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent_save/">devvm agent save</a>: Copy the agents&rsquo; settings from this folder&rsquo;s VM into devvm&rsquo;s store</li>
|
||
</ul></description></item><item><title>devvm agent import</title><link>https://next.devvm.dev/docs/cli/devvm_agent_import/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_agent_import/</guid><description>
|
||
<p>Copy the agents&rsquo; settings and logins from this machine into devvm&rsquo;s store</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Copy the settings and logins of AGENT, claude, codex, opencode, pi or cursor, or of every agent, from your home folder into devvm&rsquo;s store, never their history. It copies what a link out of an agent&rsquo;s folder leads to only from a folder that config.toml&rsquo;s follow-links names, or after naming the link and asking, which &ndash;follow-links answers. It asks before replacing what the store has.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm agent import [AGENT...] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm agent import # copy every agent&#39;s settings and logins, asking before replacing the store&#39;s
|
||
</span></span><span class="line"><span class="cl"> devvm agent import claude codex # copy only Claude Code&#39;s and Codex&#39;s
|
||
</span></span><span class="line"><span class="cl"> devvm agent import --force # replace the store&#39;s without asking, as a script must
|
||
</span></span><span class="line"><span class="cl"> devvm agent import --follow-links # copy what links out of the agents&#39; folders lead to as well, such as into a dotfiles repo</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --follow-links copy what links out of the agents&#39; folders lead to, naming each, without asking (default: ask in a terminal)
|
||
</span></span><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for import</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine">The docs page for devvm agent import</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent/">devvm agent</a>: Fill devvm&rsquo;s store of the agents&rsquo; settings and logins that every VM gets</li>
|
||
</ul></description></item><item><title>devvm agent login</title><link>https://next.devvm.dev/docs/cli/devvm_agent_login/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_agent_login/</guid><description>
|
||
<p>Log an agent in, in this folder&rsquo;s VM, and save the login in devvm&rsquo;s store</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Log AGENT in inside this folder&rsquo;s VM, and keep the login in devvm&rsquo;s store for every VM with the agent, which gets only placeholders. claude logs in through a browser on any machine, whose code you paste back, or gets a long-lived Claude Code token with &ndash;setup-token. codex and opencode log in to ChatGPT in a browser on this machine, or with a code with &ndash;device-code, or save an API key with &ndash;api-key, which is pi&rsquo;s only login.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm agent login AGENT [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm agent login claude # log Claude Code in to your Claude subscription
|
||
</span></span><span class="line"><span class="cl"> devvm agent login claude --setup-token # get a Claude Code token with claude setup-token instead
|
||
</span></span><span class="line"><span class="cl"> devvm agent login codex # log Codex in to ChatGPT in a browser on this machine
|
||
</span></span><span class="line"><span class="cl"> devvm agent login codex --device-code # log in with a code, in a browser on any machine
|
||
</span></span><span class="line"><span class="cl"> devvm agent login opencode --api-key --provider anthropic # save opencode&#39;s Anthropic API key, asking for it
|
||
</span></span><span class="line"><span class="cl"> devvm agent login pi --api-key --provider openai # save pi&#39;s OpenAI API key, asking for it</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --api-key save an API key instead, asking for it
|
||
</span></span><span class="line"><span class="cl"> --device-code log in with a code to type into a browser on any machine, so nothing is forwarded
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for login
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --provider PROVIDER with opencode&#39;s or pi&#39;s --api-key, the PROVIDER it&#39;s for: anthropic, deepseek, google, groq, mistral, openai, openrouter or xai
|
||
</span></span><span class="line"><span class="cl"> --setup-token with claude, get a long-lived Claude Code token with claude setup-token instead
|
||
</span></span><span class="line"><span class="cl"> --stdin read the secret from a line of input, without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#logging-in-with-devvm-agent-login">The docs page for devvm agent login</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent/">devvm agent</a>: Fill devvm&rsquo;s store of the agents&rsquo; settings and logins that every VM gets</li>
|
||
</ul></description></item><item><title>devvm agent save</title><link>https://next.devvm.dev/docs/cli/devvm_agent_save/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_agent_save/</guid><description>
|
||
<p>Copy the agents&rsquo; settings from this folder&rsquo;s VM into devvm&rsquo;s store</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Copy the settings of AGENT, claude, codex, opencode, pi or cursor, or of every agent this folder&rsquo;s VM has, from the VM into devvm&rsquo;s store, so every VM with the agent gets them, never its logins or history. It shows what changed and asks first, so it runs only in a terminal without &ndash;no-input, and devvm starts a stopped VM for it.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm agent save [AGENT...] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm agent save # show what changed in every agent&#39;s settings, then save them
|
||
</span></span><span class="line"><span class="cl"> devvm agent save claude # save only Claude Code&#39;s</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for save
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings">The docs page for devvm agent save</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_agent/">devvm agent</a>: Fill devvm&rsquo;s store of the agents&rsquo; settings and logins that every VM gets</li>
|
||
</ul></description></item><item><title>devvm build</title><link>https://next.devvm.dev/docs/cli/devvm_build/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_build/</guid><description>
|
||
<p>Build an image and the images under it, unless they&rsquo;re built</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Build an image and the images under it, unless they&rsquo;re built. IMAGE is base, or layers joined with + bottom first, so foo+bar is bar on foo on base. An image holds no shared tools: a VM gets those when devvm makes it, or with devvm tools.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm build IMAGE [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm build docker # build base and the docker layer on it
|
||
</span></span><span class="line"><span class="cl"> devvm build foo+bar # build base, foo and foo+bar</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --from IMAGE the container IMAGE base starts from, such as node:24, instead of Ubuntu&#39;s cloud image (default: $DEVVM_FROM)
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for build</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/images/#layers">The docs page for devvm build</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm clone</title><link>https://next.devvm.dev/docs/cli/devvm_clone/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_clone/</guid><description>
|
||
<p>Show or change whether this folder&rsquo;s VM has its own clone of the repo</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show whether this folder&rsquo;s VM has its own clone of the repo, or of each repo in a folder of repos, on, or mounts this folder, off. devvm clone on and devvm clone off make the VM again from its image, after asking in a terminal without &ndash;no-input, then open a shell in it, and devvm keeps its home folder and its settings, while everything else on its disk is lost. On copies the repos&rsquo; branches into the new clone, and off first offers to fetch the clone&rsquo;s work into this machine&rsquo;s repos, unless you give &ndash;no-clone-check.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm clone [on|off] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm clone # show whether the VM has its own clone of the repo
|
||
</span></span><span class="line"><span class="cl"> devvm clone on # make the VM again with its own clone of the repo, after asking
|
||
</span></span><span class="line"><span class="cl"> devvm clone off # fetch the clone&#39;s work, then make the VM again with this folder mounted
|
||
</span></span><span class="line"><span class="cl"> devvm clone on --force # make it again without asking, as a script must
|
||
</span></span><span class="line"><span class="cl"> devvm clone fetch # fetch the VM&#39;s branches into each repo on this machine</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --clean-home give the VM the image&#39;s home folder instead of keeping its own
|
||
</span></span><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for clone
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --no-clone-check don&#39;t check a --clone VM&#39;s clone for unfetched commits and uncommitted changes first, which are lost
|
||
</span></span><span class="line"><span class="cl"> --no-export don&#39;t export the agents&#39; history first
|
||
</span></span><span class="line"><span class="cl"> --no-worktree-check with --clean-home, don&#39;t check the agents&#39; worktrees in the VM for uncommitted changes first, which are lost
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --repos LIST the repos a --clone VM of a folder of repos gets: all, none or a LIST of their paths, such as frontend,backend (default: a picker in a terminal)</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/clone/#switching-a-vm-that-exists">The docs page for devvm clone</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_clone_add/">devvm clone add</a>: Copy one more repo into this folder&rsquo;s &ndash;clone VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_clone_fetch/">devvm clone fetch</a>: Fetch the work of this folder&rsquo;s &ndash;clone VM into each of its repos</li>
|
||
</ul></description></item><item><title>devvm clone add</title><link>https://next.devvm.dev/docs/cli/devvm_clone_add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_clone_add/</guid><description>
|
||
<p>Copy one more repo into this folder&rsquo;s &ndash;clone VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Copy the repo at PATH, a folder in this folder&rsquo;s &ndash;clone VM&rsquo;s folder, into the VM at the same path, with its branches, tags and remote-tracking branches, checked out as it is here, starting the VM if it&rsquo;s stopped. The repo gets a remote for the VM, as each of the VM&rsquo;s repos has.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm clone add PATH [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm clone add tools # copy the repo in ./tools into the VM
|
||
</span></span><span class="line"><span class="cl"> devvm clone add ../shared # copy a repo beside this one, in the same folder of repos</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for add
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/clone/#adding-a-repo">The docs page for devvm clone add</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_clone/">devvm clone</a>: Show or change whether this folder&rsquo;s VM has its own clone of the repo</li>
|
||
</ul></description></item><item><title>devvm clone fetch</title><link>https://next.devvm.dev/docs/cli/devvm_clone_fetch/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_clone_fetch/</guid><description>
|
||
<p>Fetch the work of this folder&rsquo;s &ndash;clone VM into each of its repos</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Fetch every branch of each repo in this folder&rsquo;s &ndash;clone VM into the repo on this machine, as remote-tracking branches of its remote for the VM, such as devvm/main, starting the VM if it&rsquo;s stopped. When a repo&rsquo;s HEAD in the VM is detached at commits no branch has, fetch those into a new local branch, saved/devvm/HEAD, and each stash entry the VM made into saved/devvm/stash-N. Then list the branches that are new or moved, each with the repos it&rsquo;s in.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm clone fetch [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm clone fetch # fetch every repo&#39;s branches, and list what&#39;s new
|
||
</span></span><span class="line"><span class="cl"> devvm clone fetch --json # list what&#39;s new for a script</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for fetch
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/clone/#fetching-the-vms-work">The docs page for devvm clone fetch</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_clone/">devvm clone</a>: Show or change whether this folder&rsquo;s VM has its own clone of the repo</li>
|
||
</ul></description></item><item><title>devvm code</title><link>https://next.devvm.dev/docs/cli/devvm_code/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_code/</guid><description>
|
||
<p>Open this folder&rsquo;s VM in VS Code over Remote-SSH</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Get this folder&rsquo;s VM ready as devvm host does, then open its folder in VS Code over Remote-SSH, with VS Code&rsquo;s code command.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm code [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm code # open this folder&#39;s VM in VS Code
|
||
</span></span><span class="line"><span class="cl"> devvm code --ssh-config # the same, adding devvm&#39;s Include line to ~/.ssh/config without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for code
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --ssh-config add devvm&#39;s Include line to ~/.ssh/config without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/ssh/#vs-code-and-cursor">The docs page for devvm code</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm completion</title><link>https://next.devvm.dev/docs/cli/devvm_completion/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_completion/</guid><description>
|
||
<p>Print the shell completion script for bash, zsh or fish</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Print the script that completes devvm&rsquo;s commands, flags, image names and shared tools in SHELL, which is bash, zsh or fish. Load it from your shell&rsquo;s startup file.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm completion SHELL [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> source &lt;(devvm completion bash) # in ~/.bashrc, with the bash-completion package installed
|
||
</span></span><span class="line"><span class="cl"> source &lt;(devvm completion zsh) # in ~/.zshrc, after compinit
|
||
</span></span><span class="line"><span class="cl"> devvm completion fish | source # in ~/.config/fish/config.fish</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for completion</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/command-line/#shell-completion">The docs page for devvm completion</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm cursor</title><link>https://next.devvm.dev/docs/cli/devvm_cursor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_cursor/</guid><description>
|
||
<p>Open this folder&rsquo;s VM in Cursor over Remote-SSH</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Get this folder&rsquo;s VM ready as devvm host does, then open its folder in the Cursor editor over Remote-SSH, with Cursor&rsquo;s cursor command.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm cursor [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm cursor # open this folder&#39;s VM in Cursor
|
||
</span></span><span class="line"><span class="cl"> devvm cursor --ssh-config # the same, adding devvm&#39;s Include line to ~/.ssh/config without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for cursor
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --ssh-config add devvm&#39;s Include line to ~/.ssh/config without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/ssh/#vs-code-and-cursor">The docs page for devvm cursor</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm desktop</title><link>https://next.devvm.dev/docs/cli/devvm_desktop/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_desktop/</guid><description>
|
||
<p>Open this folder&rsquo;s VM&rsquo;s desktop in a VNC viewer</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Start the desktop of this folder&rsquo;s VM, which needs the desktop layer, and serve it on this machine&rsquo;s 127.0.0.1 with a password of the VM&rsquo;s own until you press Ctrl+C or the VM stops. On macOS, Screen Sharing opens it and asks for the password, which devvm shows.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm desktop [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm desktop # open the VM&#39;s desktop in Screen Sharing
|
||
</span></span><span class="line"><span class="cl"> devvm desktop --clipboard # the same, sharing the clipboard both ways
|
||
</span></span><span class="line"><span class="cl"> devvm desktop --no-open # show the address and password for a VNC viewer of your own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --clipboard share the clipboard between this machine and the VM, both ways
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for desktop
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --no-open show the address and password without opening Screen Sharing
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/desktop/">The docs page for devvm desktop</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm doctor</title><link>https://next.devvm.dev/docs/cli/devvm_doctor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_doctor/</guid><description>
|
||
<p>Check what devvm needs on this machine</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Check what Lima needs on this machine, and say how to get what&rsquo;s missing, because devvm never installs it itself. Then list the features Lima gives VMs. doctor fails when something is missing, but never for a warning, such as one about low free space.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm doctor [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm doctor # check what devvm needs
|
||
</span></span><span class="line"><span class="cl"> devvm doctor --json # the same as JSON, for scripts</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for doctor
|
||
</span></span><span class="line"><span class="cl"> --json print what it found as JSON, and succeed whatever is missing</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/getting-started/install/#checking-what-devvm-needs">The docs page for devvm doctor</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm gc</title><link>https://next.devvm.dev/docs/cli/devvm_gc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_gc/</guid><description>
|
||
<p>Delete stale images, unused tools, old files and the Nix cache over its cap</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Delete the stale and unfinished images, the shared tools devvm images lists as unused, the files devvm itself no longer needs, and the shared Nix cache&rsquo;s least recently used files while it&rsquo;s over its cap, after listing them and asking in a terminal without &ndash;no-input, and the build VMs that a killed tools build left, at once. Its flags delete more, such as &ndash;tool-images for the current shared tool images no VM has. gc never deletes a VM of yours.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm gc [--tool-images [TOOL...]] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm gc # delete stale images and unused tools, after asking
|
||
</span></span><span class="line"><span class="cl"> devvm gc --tool-images # also the current shared tool images no VM has
|
||
</span></span><span class="line"><span class="cl"> devvm gc --history --older-than 30d # also the history exports 30 days old or more
|
||
</span></span><span class="line"><span class="cl"> devvm gc --force # delete without asking, as a script must</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --caches then free devvm&#39;s share of Lima&#39;s own caches, after asking
|
||
</span></span><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for gc
|
||
</span></span><span class="line"><span class="cl"> --history also delete the saved exports of agents&#39; history
|
||
</span></span><span class="line"><span class="cl"> --nix-cache also delete the whole shared Nix cache
|
||
</span></span><span class="line"><span class="cl"> --older-than DURATION with --history, only those older than DURATION, such as 30d
|
||
</span></span><span class="line"><span class="cl"> --orphans also delete what devvm keeps for VMs their backend no longer has
|
||
</span></span><span class="line"><span class="cl"> --retention then apply the retention settings
|
||
</span></span><span class="line"><span class="cl"> --tool-images also delete the current shared tool images no VM has, or only those of the TOOLs named</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/images/#cleaning-up">The docs page for devvm gc</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm git-protect</title><link>https://next.devvm.dev/docs/cli/devvm_git-protect/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_git-protect/</guid><description>
|
||
<p>Show or change .git protection for this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show this folder&rsquo;s VM&rsquo;s .git protection, which locks the git hooks and config that run code on this machine, as on, off, or clone for a &ndash;clone VM. devvm git-protect on or off changes it at once on a stopped VM, and on a running one when it next stops, so in a terminal devvm offers to restart it now.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm git-protect [on|off] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm git-protect # show the VM&#39;s .git protection
|
||
</span></span><span class="line"><span class="cl"> devvm git-protect off # unlock .git, once the VM is stopped
|
||
</span></span><span class="line"><span class="cl"> devvm git-protect on # lock .git again as it is then</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for git-protect
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/git-protection/#turning-it-on-or-off">The docs page for devvm git-protect</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm group</title><link>https://next.devvm.dev/docs/cli/devvm_group/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_group/</guid><description>
|
||
<p>Show the group this folder&rsquo;s VM is in</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show the group this folder&rsquo;s VM is in, with each of its VMs, the name the others reach it by, its folder and the ports it publishes. The VMs in a group reach each other&rsquo;s published ports by name, through links the group makes in each of them.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm group [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm group # show this folder&#39;s VM&#39;s group
|
||
</span></span><span class="line"><span class="cl"> devvm group join web # join the group web, made when its first VM joins
|
||
</span></span><span class="line"><span class="cl"> devvm group leave # leave it, removing the links the group made</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for group
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#groups">The docs page for devvm group</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_group_join/">devvm group join</a>: Put this folder&rsquo;s VM in a group of VMs</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_group_leave/">devvm group leave</a>: Take this folder&rsquo;s VM out of its group</li>
|
||
</ul></description></item><item><title>devvm group join</title><link>https://next.devvm.dev/docs/cli/devvm_group_join/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_group_join/</guid><description>
|
||
<p>Put this folder&rsquo;s VM in a group of VMs</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Put this folder&rsquo;s VM in the group NAME, which its first VM makes. Each VM in the group then reaches the ports the others publish with devvm link publish, by each one&rsquo;s folder name or the name it joined with, as in db:5432 and db.devvm.internal:5432.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm group join NAME [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm group join web # join the group web
|
||
</span></span><span class="line"><span class="cl"> devvm group join web --as api2 # join it as api2 instead of this folder&#39;s name</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --as NAME the NAME the group&#39;s other VMs reach this VM by (default: its folder name)
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for join
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#joining-a-group">The docs page for devvm group join</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_group/">devvm group</a>: Show the group this folder&rsquo;s VM is in</li>
|
||
</ul></description></item><item><title>devvm group leave</title><link>https://next.devvm.dev/docs/cli/devvm_group_leave/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_group_leave/</guid><description>
|
||
<p>Take this folder&rsquo;s VM out of its group</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Take this folder&rsquo;s VM out of its group, and remove the links the group made, in this VM and in the group&rsquo;s other VMs, naming them. The links you made with devvm link add stay, and the group goes with its last VM.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm group leave [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm group leave # leave this folder&#39;s VM&#39;s group</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for leave
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#leaving-a-group">The docs page for devvm group leave</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_group/">devvm group</a>: Show the group this folder&rsquo;s VM is in</li>
|
||
</ul></description></item><item><title>devvm history</title><link>https://next.devvm.dev/docs/cli/devvm_history/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_history/</guid><description>
|
||
<p>List the saved exports of agents&rsquo; history</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>List the exports of agents&rsquo; history that devvm history export and devvm rm saved in ~/.local/share/devvm/exports, oldest first. It changes nothing and starts no VM.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm history [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm history # list the saved exports
|
||
</span></span><span class="line"><span class="cl"> devvm history export # save this folder&#39;s VM&#39;s agent history
|
||
</span></span><span class="line"><span class="cl"> devvm history import # put the newest export back into this folder&#39;s VM</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for history
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#history">The docs page for devvm history</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_history_export/">devvm history export</a>: Save this folder&rsquo;s VM&rsquo;s agent history to a .tar.gz</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_history_import/">devvm history import</a>: Put an export of agent history into this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm history export</title><link>https://next.devvm.dev/docs/cli/devvm_history_export/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_history_export/</guid><description>
|
||
<p>Save this folder&rsquo;s VM&rsquo;s agent history to a .tar.gz</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Save the history of this folder&rsquo;s VM&rsquo;s agents, their transcripts and sessions without their logins, to FILE, a .tar.gz, or to a new file in ~/.local/share/devvm/exports. devvm starts a stopped VM for it.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm history export [FILE] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm history export # save it in ~/.local/share/devvm/exports
|
||
</span></span><span class="line"><span class="cl"> devvm history export ~/claude.tar.gz # save it to a file of your own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for export
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#history">The docs page for devvm history export</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_history/">devvm history</a>: List the saved exports of agents&rsquo; history</li>
|
||
</ul></description></item><item><title>devvm history import</title><link>https://next.devvm.dev/docs/cli/devvm_history_import/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_history_import/</guid><description>
|
||
<p>Put an export of agent history into this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Put the agent history in FILE, a .tar.gz that devvm history export or devvm rm saved, into this folder&rsquo;s VM, or the newest export devvm saved for this folder. It leaves out the agents&rsquo; logins and the files devvm copies in, and keeps every file the VM already has.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm history import [FILE] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm history import # import the newest export saved for this folder
|
||
</span></span><span class="line"><span class="cl"> devvm history import ~/claude.tar.gz # import a file of your own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for import
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#importing-history">The docs page for devvm history import</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_history/">devvm history</a>: List the saved exports of agents&rsquo; history</li>
|
||
</ul></description></item><item><title>devvm host</title><link>https://next.devvm.dev/docs/cli/devvm_host/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_host/</guid><description>
|
||
<p>Get this folder&rsquo;s VM ready for ssh and editors, and show its host name</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Get this folder&rsquo;s VM ready for ssh and editors as devvm does before it opens a shell, starting the VM if it&rsquo;s stopped. Then show the host name that ssh and VS Code&rsquo;s Remote-SSH reach it by, such as devvm-website for a folder named website.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm host [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm host # get the VM ready and show its host name
|
||
</span></span><span class="line"><span class="cl"> ssh devvm-website # then connect by that name, for a folder named website</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for host
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --ssh-config add devvm&#39;s Include line to ~/.ssh/config without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/ssh/#devvm-host-devvm-code-and-devvm-cursor">The docs page for devvm host</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm images</title><link>https://next.devvm.dev/docs/cli/devvm_images/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_images/</guid><description>
|
||
<p>List the images and the shared tools</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>List the images, with whether each is current, stale, unfinished or being built and the disk it takes, then the shared tools devvm has built, with how many VMs have each. It ends with what they take in all.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm images [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm images # list the images and the shared tools
|
||
</span></span><span class="line"><span class="cl"> devvm images --json # the same lists as JSON, for scripts</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for images
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/images/#listing-images">The docs page for devvm images</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_images_rm/">devvm images rm</a>: Delete images, by name or by key</li>
|
||
</ul></description></item><item><title>devvm images rm</title><link>https://next.devvm.dev/docs/cli/devvm_images_rm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_images_rm/</guid><description>
|
||
<p>Delete images, by name or by key</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Delete images, each by its name or by the key devvm images shows, after asking in a terminal without &ndash;no-input. Every one must be built, or devvm deletes nothing. VMs made from an image keep working, except on Linux hosts, where devvm refuses an image whose disk VMs use.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm images rm IMAGE|KEY... [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm images rm foo+bar # delete the foo+bar image, after asking
|
||
</span></span><span class="line"><span class="cl"> devvm images rm 7a76021c46ef # delete a stale image by its key
|
||
</span></span><span class="line"><span class="cl"> devvm images rm base --from node:24 # delete base made from node:24</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> --from IMAGE the container IMAGE base starts from, such as node:24, instead of Ubuntu&#39;s cloud image (default: $DEVVM_FROM)
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for rm</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/images/#deleting-images">The docs page for devvm images rm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_images/">devvm images</a>: List the images and the shared tools</li>
|
||
</ul></description></item><item><title>devvm layer</title><link>https://next.devvm.dev/docs/cli/devvm_layer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_layer/</guid><description>
|
||
<p>Make image layers of your own, or change this folder&rsquo;s VM&rsquo;s layers</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Make image layers of your own, which are scripts in ~/.config/devvm/layers that an image runs on top of base, or add layers to this folder&rsquo;s VM and take them out. An image names them as it names devvm&rsquo;s built-in layers, bottom first, such as docker+NAME, and a new VM gets them with &ndash;layers.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm layer [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm layer new mailpit # start a layer named mailpit
|
||
</span></span><span class="line"><span class="cl"> devvm layer add docker # make this folder&#39;s VM again with the docker layer added
|
||
</span></span><span class="line"><span class="cl"> devvm layer rm docker # make this folder&#39;s VM again without it</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for layer</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/customizing/#your-own-layers">The docs page for devvm layer</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer_add/">devvm layer add</a>: Make this folder&rsquo;s VM again with more layers, then open a shell in it</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer_new/">devvm layer new</a>: Start a layer of your own</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer_rm/">devvm layer rm</a>: Make this folder&rsquo;s VM again without some of its layers, then open a shell in it</li>
|
||
</ul></description></item><item><title>devvm layer add</title><link>https://next.devvm.dev/docs/cli/devvm_layer_add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_layer_add/</guid><description>
|
||
<p>Make this folder&rsquo;s VM again with more layers, then open a shell in it</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Make this folder&rsquo;s VM again from an image with each LAYER added on top, in the order given, then open a shell in it, after asking in a terminal without &ndash;no-input. devvm keeps its home folder, the project folder and its settings, and everything else on its disk is lost. When its image has an agent, devvm first exports the agents&rsquo; history, unless you give &ndash;no-export.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm layer add LAYER... [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm layer add desktop # add the desktop layer to the VM, after asking
|
||
</span></span><span class="line"><span class="cl"> devvm layer add docker nix # add docker, then nix on top of it
|
||
</span></span><span class="line"><span class="cl"> devvm layer add desktop --force # add it without asking, as a script must
|
||
</span></span><span class="line"><span class="cl"> devvm layer add docker --clean-home # add docker, and start from the image&#39;s home folder</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --clean-home give the VM the image&#39;s home folder instead of keeping its own
|
||
</span></span><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for add
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --no-export don&#39;t export the agents&#39; history first
|
||
</span></span><span class="line"><span class="cl"> --no-worktree-check with --clean-home, don&#39;t check the agents&#39; worktrees in the VM for uncommitted changes first, which are lost
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/images/#adding-layers-to-a-vm">The docs page for devvm layer add</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer/">devvm layer</a>: Make image layers of your own, or change this folder&rsquo;s VM&rsquo;s layers</li>
|
||
</ul></description></item><item><title>devvm layer new</title><link>https://next.devvm.dev/docs/cli/devvm_layer_new/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_layer_new/</guid><description>
|
||
<p>Start a layer of your own</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Start a layer of your own, ~/.config/devvm/layers/NAME.sh, a script to edit, and NAME.policy next to it, the hosts that VMs with the layer can reach on the allowlist tier. NAME is lowercase letters, digits and dashes, and not base or a built-in layer&rsquo;s or shared tool&rsquo;s name.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm layer new NAME [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm layer new mailpit # start the mailpit layer, then edit its script
|
||
</span></span><span class="line"><span class="cl"> devvm build mailpit # build its image
|
||
</span></span><span class="line"><span class="cl"> devvm --layers mailpit # create a VM with the layer</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for new</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/customizing/#your-own-layers">The docs page for devvm layer new</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer/">devvm layer</a>: Make image layers of your own, or change this folder&rsquo;s VM&rsquo;s layers</li>
|
||
</ul></description></item><item><title>devvm layer rm</title><link>https://next.devvm.dev/docs/cli/devvm_layer_rm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_layer_rm/</guid><description>
|
||
<p>Make this folder&rsquo;s VM again without some of its layers, then open a shell in it</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Make this folder&rsquo;s VM again from an image without each LAYER, its other layers kept in their order, then open a shell in it, after asking in a terminal without &ndash;no-input. devvm keeps its home folder, the project folder and its settings, and everything else on its disk is lost. When its image has an agent, devvm first exports the agents&rsquo; history, unless you give &ndash;no-export.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm layer rm LAYER... [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm layer rm desktop # take the desktop layer out of the VM, after asking
|
||
</span></span><span class="line"><span class="cl"> devvm layer rm docker nix # take out docker and nix
|
||
</span></span><span class="line"><span class="cl"> devvm layer rm desktop --force # take it out without asking, as a script must
|
||
</span></span><span class="line"><span class="cl"> devvm layer rm docker --clean-home # take out docker, and start from the image&#39;s home folder</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --clean-home give the VM the image&#39;s home folder instead of keeping its own
|
||
</span></span><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for rm
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --no-export don&#39;t export the agents&#39; history first
|
||
</span></span><span class="line"><span class="cl"> --no-worktree-check with --clean-home, don&#39;t check the agents&#39; worktrees in the VM for uncommitted changes first, which are lost
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/images/#taking-layers-out-of-a-vm">The docs page for devvm layer rm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_layer/">devvm layer</a>: Make image layers of your own, or change this folder&rsquo;s VM&rsquo;s layers</li>
|
||
</ul></description></item><item><title>devvm limactl</title><link>https://next.devvm.dev/docs/cli/devvm_limactl/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_limactl/</guid><description>
|
||
<p>Run Lima&rsquo;s limactl for debugging, which starts VMs unconfined, whatever their tier</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Run limactl with ARGS on devvm&rsquo;s own Lima home, where the lima backend&rsquo;s VMs and images live, passing on every argument, &ndash;help included. A VM started this way runs unconfined, whatever its tier, so start VMs with devvm.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm limactl [ARGS...]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm limactl list # list the lima backend&#39;s VMs and images
|
||
</span></span><span class="line"><span class="cl"> devvm limactl shell devvm-website-71a99b1076d92c # open a shell in a running VM through Lima</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/backends/lima/#running-limactl">The docs page for devvm limactl</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm link</title><link>https://next.devvm.dev/docs/cli/devvm_link/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_link/</guid><description>
|
||
<p>List this folder&rsquo;s VM&rsquo;s links to your other VMs</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>List this folder&rsquo;s VM&rsquo;s links to services in your other VMs, each with its name, port, target VM and folder, the target&rsquo;s status, and whether the link applies. Programs in the VM reach a link as NAME:PORT and NAME.devvm.internal:PORT.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm link [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm link # list this folder&#39;s VM&#39;s links
|
||
</span></span><span class="line"><span class="cl"> devvm link add db 5432 # reach port 5432 of the VM for the folder db as db:5432
|
||
</span></span><span class="line"><span class="cl"> devvm link publish 5432 # offer this VM&#39;s port 5432 to links from your other VMs</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for link
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#listing-links">The docs page for devvm link</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link_add/">devvm link add</a>: Link this folder&rsquo;s VM to a port of another VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link_publish/">devvm link publish</a>: Show or add the ports this folder&rsquo;s VM offers to links</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link_rm/">devvm link rm</a>: Remove one of this folder&rsquo;s VM&rsquo;s links</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link_unpublish/">devvm link unpublish</a>: Stop offering ports of this folder&rsquo;s VM to links</li>
|
||
</ul></description></item><item><title>devvm link add</title><link>https://next.devvm.dev/docs/cli/devvm_link_add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_link_add/</guid><description>
|
||
<p>Link this folder&rsquo;s VM to a port of another VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Link this folder&rsquo;s VM to PORT of the VM TARGET names, a folder&rsquo;s name or path or a VM&rsquo;s name, once that VM publishes the port with devvm link publish. Programs in this VM then reach it as NAME:PORT and NAME.devvm.internal:PORT, where NAME is the target&rsquo;s folder name or &ndash;as NAME.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm link add TARGET PORT [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm link add db 5432 # reach port 5432 of the VM for the folder db as db:5432
|
||
</span></span><span class="line"><span class="cl"> devvm link add db 5432 --as pg # reach it as pg:5432 instead
|
||
</span></span><span class="line"><span class="cl"> devvm link add ../api 8080 # name the target by its folder&#39;s path</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --as NAME the NAME the VM reaches the link by (default: the target&#39;s folder name)
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for add
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#adding-a-link">The docs page for devvm link add</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link/">devvm link</a>: List this folder&rsquo;s VM&rsquo;s links to your other VMs</li>
|
||
</ul></description></item><item><title>devvm link publish</title><link>https://next.devvm.dev/docs/cli/devvm_link_publish/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_link_publish/</guid><description>
|
||
<p>Show or add the ports this folder&rsquo;s VM offers to links</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show the ports this folder&rsquo;s VM publishes, or offer PORTS, ports and ranges like 5432,8000-8010, to links from any of your other VMs. Each link is still made from the other VM&rsquo;s folder, with devvm link add.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm link publish [PORTS] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm link publish # show what the VM publishes
|
||
</span></span><span class="line"><span class="cl"> devvm link publish 5432 # offer port 5432 to links
|
||
</span></span><span class="line"><span class="cl"> devvm link publish 8000-8010 # offer a range</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for publish
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#publishing-a-port">The docs page for devvm link publish</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link/">devvm link</a>: List this folder&rsquo;s VM&rsquo;s links to your other VMs</li>
|
||
</ul></description></item><item><title>devvm link rm</title><link>https://next.devvm.dev/docs/cli/devvm_link_rm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_link_rm/</guid><description>
|
||
<p>Remove one of this folder&rsquo;s VM&rsquo;s links</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Remove this folder&rsquo;s VM&rsquo;s link to PORT of TARGET, where TARGET is the link&rsquo;s name or what devvm link add took.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm link rm TARGET PORT [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm link rm db 5432 # stop reaching db:5432
|
||
</span></span><span class="line"><span class="cl"> devvm link rm pg 5432 # remove a link by the name given with --as</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for rm
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#removing-a-link">The docs page for devvm link rm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link/">devvm link</a>: List this folder&rsquo;s VM&rsquo;s links to your other VMs</li>
|
||
</ul></description></item><item><title>devvm link unpublish</title><link>https://next.devvm.dev/docs/cli/devvm_link_unpublish/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_link_unpublish/</guid><description>
|
||
<p>Stop offering ports of this folder&rsquo;s VM to links</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Stop offering PORTS, each as devvm link publish lists it, to links from your other VMs. The server in the VM keeps running.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm link unpublish PORTS [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm link unpublish 5432 # stop offering port 5432</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for unpublish
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/links/#publishing-a-port">The docs page for devvm link unpublish</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_link/">devvm link</a>: List this folder&rsquo;s VM&rsquo;s links to your other VMs</li>
|
||
</ul></description></item><item><title>devvm ls</title><link>https://next.devvm.dev/docs/cli/devvm_ls/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_ls/</guid><description>
|
||
<p>List the project VMs</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>List the project VMs, sorted by name. Each row has the VM&rsquo;s status, image, .git protection, network tier, links to your other VMs and folder.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm ls [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm ls # list every project VM
|
||
</span></span><span class="line"><span class="cl"> devvm ls --json # the same list as JSON, for scripts</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for ls
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/vms/#listing-vms">The docs page for devvm ls</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm mount-cache</title><link>https://next.devvm.dev/docs/cli/devvm_mount-cache/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_mount-cache/</guid><description>
|
||
<p>Show or change how this folder&rsquo;s VM caches its project folder</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show how this folder&rsquo;s VM caches its project folder on a Linux host: none, which new VMs get, or mmap for a VM made before devvm chose none, which can lose writes and breaks SQLite and Gradle there. devvm mount-cache none switches it from the VM&rsquo;s next start, so in a terminal devvm offers to restart a running VM now.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm mount-cache [none] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm mount-cache # show the VM&#39;s cache mode
|
||
</span></span><span class="line"><span class="cl"> devvm mount-cache none # stop the VM losing writes, from its next start</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for mount-cache
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/backends/lima/#the-project-folders-cache">The docs page for devvm mount-cache</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
</ul></description></item><item><title>devvm network</title><link>https://next.devvm.dev/docs/cli/devvm_network/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network/</guid><description>
|
||
<p>Show or change the network tier of this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show the network tier of this folder&rsquo;s VM, which is open, internet, allowlist, none or unenforced, and then its allowlist, policy by policy: devvm&rsquo;s built-in ones by name, then your files by path. With a tier, give the VM that tier: between the confined tiers at once, and into or out of open from the VM&rsquo;s next start, so in a terminal devvm offers to restart a running VM now, and learn gives it the internet tier while it learns the hosts it reaches, until devvm network lock. With -g, show or change the tier new VMs get, allowlist unless you change it, which is never learn, because each VM learns on its own.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network [open|internet|learn|allowlist|none] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network # show the VM&#39;s network tier and allowlist
|
||
</span></span><span class="line"><span class="cl"> devvm network allow example.com # let the VM reach example.com
|
||
</span></span><span class="line"><span class="cl"> devvm network log --blocked # list what the VM&#39;s proxy blocked
|
||
</span></span><span class="line"><span class="cl"> devvm network learn # let the VM reach any public host while it learns the ones it needs
|
||
</span></span><span class="line"><span class="cl"> devvm network lock # choose which of them it keeps, and put it on the allowlist tier
|
||
</span></span><span class="line"><span class="cl"> devvm network -g none # give every new VM the none tier</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global show or change new VMs&#39; network tier instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for network
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#choosing-a-tier">The docs page for devvm network</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network_allow/">devvm network allow</a>: Allow hosts for this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network_deny/">devvm network deny</a>: Deny hosts for this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network_lock/">devvm network lock</a>: Lock this folder&rsquo;s VM to the hosts it learned, on the allowlist tier</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network_log/">devvm network log</a>: Show what this folder&rsquo;s VM connected to and what its proxy blocked</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network_rm/">devvm network rm</a>: Remove rules from this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network_transparent/">devvm network transparent</a>: Show or change transparent mode for this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm network allow</title><link>https://next.devvm.dev/docs/cli/devvm_network_allow/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network_allow/</guid><description>
|
||
<p>Allow hosts for this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Add RULEs to the allowlist of this folder&rsquo;s VM, or with -g of every VM, from the next connection on. RULE is a host, *.host for its subdomains, ** for any host, or an address or CIDR, and with a port, such as example.com:8443, it matches only that port instead of 443 and 80. &ndash;method and &ndash;path narrow a host&rsquo;s rule to some of its requests, which its proxy decrypts to check.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network allow RULE... [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network allow example.com # let the VM reach example.com
|
||
</span></span><span class="line"><span class="cl"> devvm network allow &#39;*.example.com&#39; # and any of its subdomains
|
||
</span></span><span class="line"><span class="cl"> devvm network allow 10.0.0.5:5432 # one port of one address
|
||
</span></span><span class="line"><span class="cl"> devvm network allow api.example.com --method GET,HEAD # let it only read from api.example.com
|
||
</span></span><span class="line"><span class="cl"> devvm network allow -g pypi.org # let every VM reach pypi.org</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global change your rules for every VM instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for allow
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --method METHODS narrow each rule to these METHODS of a host&#39;s requests, such as GET,HEAD
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --path PATH narrow each rule to the requests whose path matches PATH, such as /repos/ for everything below /repos/</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#changing-rules">The docs page for devvm network allow</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm network deny</title><link>https://next.devvm.dev/docs/cli/devvm_network_deny/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network_deny/</guid><description>
|
||
<p>Deny hosts for this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Add RULEs as denies to this folder&rsquo;s VM&rsquo;s rules, or with -g every VM&rsquo;s, from the next connection on, and a deny beats any allow. RULE is a host, *.host for its subdomains, ** for any host, or an address or CIDR, and with a port, such as example.com:8443, it matches only that port instead of 443 and 80. &ndash;method and &ndash;path narrow a host&rsquo;s rule to some of its requests, which its proxy decrypts to check.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network deny RULE... [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network deny example.com # keep the VM from reaching example.com
|
||
</span></span><span class="line"><span class="cl"> devvm network deny api.github.com --method POST,PUT,PATCH,DELETE # keep it from changing anything through GitHub&#39;s API
|
||
</span></span><span class="line"><span class="cl"> devvm network deny github.com --path &#39;/*/*/git-receive-pack&#39; # keep it from pushing to GitHub over HTTPS
|
||
</span></span><span class="line"><span class="cl"> devvm network deny -g &#39;*.example.com&#39; # keep every VM from its subdomains</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global change your rules for every VM instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for deny
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --method METHODS narrow each rule to these METHODS of a host&#39;s requests, such as GET,HEAD
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --path PATH narrow each rule to the requests whose path matches PATH, such as /repos/ for everything below /repos/</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#changing-rules">The docs page for devvm network deny</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm network lock</title><link>https://next.devvm.dev/docs/cli/devvm_network_lock/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network_lock/</guid><description>
|
||
<p>Lock this folder&rsquo;s VM to the hosts it learned, on the allowlist tier</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>For this folder&rsquo;s VM, which learns the hosts it reaches, choose in a list which of the hosts it reached beyond its allowlist to add to its own rules, then give it the allowlist tier at once. Only a host on port 443 of a package registry or vendor that devvm knows, such as registry.npmjs.org, starts ticked, and risky ones are listed apart, so read the list before you confirm it. Without a terminal, &ndash;all adds every host and &ndash;none adds none, and &ndash;json lists the hosts and changes nothing.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network lock [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network lock # choose the hosts the VM keeps, then lock it to them
|
||
</span></span><span class="line"><span class="cl"> devvm network lock --json # list the hosts it learned, changing nothing
|
||
</span></span><span class="line"><span class="cl"> devvm network lock --all # keep every host it learned, without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --all add every host the VM learned, without asking
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for lock
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --none add none of the hosts the VM learned, without asking
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#locking-it">The docs page for devvm network lock</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm network log</title><link>https://next.devvm.dev/docs/cli/devvm_network_log/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network_log/</guid><description>
|
||
<p>Show what this folder&rsquo;s VM connected to and what its proxy blocked</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show the network log of this folder&rsquo;s VM, oldest first: one line per connection or request its proxy allowed or blocked, and one line per connection to one of its links and each that devvm refused. &ndash;blocked lists the blocks instead, one row per host and port, with the devvm network allow command that allows each.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network log [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network log # show the last 50 connections and requests
|
||
</span></span><span class="line"><span class="cl"> devvm network log --follow # keep showing new ones until Ctrl+C
|
||
</span></span><span class="line"><span class="cl"> devvm network log --blocked # list the blocks, with the command that allows each</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --blocked list the blocks by host and port, with the command that allows each
|
||
</span></span><span class="line"><span class="cl"> --follow keep showing new ones as they happen, until interrupted
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for log
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> -n, --lines N show the last N connections and requests (default 50)
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#logs">The docs page for devvm network log</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm network rm</title><link>https://next.devvm.dev/docs/cli/devvm_network_rm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network_rm/</guid><description>
|
||
<p>Remove rules from this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Remove RULEs, as written with a deny&rsquo;s !, from this folder&rsquo;s VM&rsquo;s own rules, or with -g yours for every VM, with &ndash;method and &ndash;path for a rule that narrows. The change applies at once.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network rm RULE... [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network rm example.com # remove an allow
|
||
</span></span><span class="line"><span class="cl"> devvm network rm &#39;!example.com&#39; # remove a deny
|
||
</span></span><span class="line"><span class="cl"> devvm network rm api.example.com --method GET,HEAD # remove an allow that narrows</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global change your rules for every VM instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for rm
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --method METHODS narrow each rule to these METHODS of a host&#39;s requests, such as GET,HEAD
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --path PATH narrow each rule to the requests whose path matches PATH, such as /repos/ for everything below /repos/</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#changing-rules">The docs page for devvm network rm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm network transparent</title><link>https://next.devvm.dev/docs/cli/devvm_network_transparent/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_network_transparent/</guid><description>
|
||
<p>Show or change transparent mode for this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show whether this folder&rsquo;s VM sends tools that ignore the proxy settings to its proxy by the names they look up, on or off, and where that comes from: the VM&rsquo;s own setting, config.toml&rsquo;s transparent-proxy, or devvm&rsquo;s default, on. devvm network transparent on or off gives the VM its own setting, which applies from its next launch, while it&rsquo;s on a confined tier.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm network transparent [on|off] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm network transparent # show the VM&#39;s transparent mode and where it comes from
|
||
</span></span><span class="line"><span class="cl"> devvm network transparent off # turn it off for this VM, from its next launch
|
||
</span></span><span class="line"><span class="cl"> devvm network transparent on # turn it on again, whatever config.toml says</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for transparent
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/safety/network/#tools-that-ignore-the-proxy">The docs page for devvm network transparent</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_network/">devvm network</a>: Show or change the network tier of this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm paste</title><link>https://next.devvm.dev/docs/cli/devvm_paste/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_paste/</guid><description>
|
||
<p>Send the clipboard&rsquo;s image, PDF or copied file to this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Put the image, the PDF, or the one copied file, that&rsquo;s on this machine&rsquo;s clipboard into this folder&rsquo;s VM, which must be running, as a new file in its paste folder, and copy that file&rsquo;s path to the clipboard. A copied file is sent after asking, showing its path on this machine, and only a file in this folder, which the VM already reads, is sent without asking, with &ndash;send-file. Then paste the path into the agent with your terminal&rsquo;s paste shortcut.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm paste [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm paste # send the copied image, and copy its path in the VM
|
||
</span></span><span class="line"><span class="cl"> devvm paste --json # the same, printing the path and what was sent as JSON
|
||
</span></span><span class="line"><span class="cl"> devvm paste --send-file # send a copied file in this folder without asking, as a script must
|
||
</span></span><span class="line"><span class="cl"> devvm paste rm # delete the files devvm paste left in the VM</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -h, --help help for paste
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own
|
||
</span></span><span class="line"><span class="cl"> --send-file send a copied file in this folder without asking</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#pasting-images">The docs page for devvm paste</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_paste_rm/">devvm paste rm</a>: Delete the files devvm paste left in this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm paste rm</title><link>https://next.devvm.dev/docs/cli/devvm_paste_rm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_paste_rm/</guid><description>
|
||
<p>Delete the files devvm paste left in this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Delete the images and files that devvm paste put in this folder&rsquo;s VM&rsquo;s paste folder, after asking, and nothing else in that folder. The VM must be running.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm paste rm [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm paste rm # delete them after asking
|
||
</span></span><span class="line"><span class="cl"> devvm paste rm --force # delete them without asking, as a script must</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -f, --force don&#39;t ask to confirm, which devvm needs without a terminal or with --no-input
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for rm
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/coding-agents/#pasting-images">The docs page for devvm paste rm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_paste/">devvm paste</a>: Send the clipboard&rsquo;s image, PDF or copied file to this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm ports</title><link>https://next.devvm.dev/docs/cli/devvm_ports/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_ports/</guid><description>
|
||
<p>Show or change which ports this folder&rsquo;s VM forwards</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Show which ports this folder&rsquo;s VM forwards to the same port on this machine&rsquo;s localhost, or change them at once to all, none or a LIST of ports and ranges like 5173,8000-8010. With -g, show or change what new VMs forward instead.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm ports [all|none|LIST] [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm ports # show what the VM forwards
|
||
</span></span><span class="line"><span class="cl"> devvm ports 5173,8000-8010 # forward only these ports and ranges
|
||
</span></span><span class="line"><span class="cl"> devvm ports none # forward nothing
|
||
</span></span><span class="line"><span class="cl"> devvm ports -g none # make new VMs forward nothing</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global show or change what new VMs forward instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for ports
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --json print it as one JSON object, for scripts
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/ports-size/#ports">The docs page for devvm ports</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm/">devvm</a>: Open a shell in this folder&rsquo;s VM, creating it first</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ports_add/">devvm ports add</a>: Forward more ports from this folder&rsquo;s VM</li>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ports_rm/">devvm ports rm</a>: Stop forwarding some ports from this folder&rsquo;s VM</li>
|
||
</ul></description></item><item><title>devvm ports add</title><link>https://next.devvm.dev/docs/cli/devvm_ports_add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_ports_add/</guid><description>
|
||
<p>Forward more ports from this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Add LIST&rsquo;s ports and ranges, such as 5173,8000-8010, to those this folder&rsquo;s VM forwards, or with -g to those new VMs forward. A VM that forwards every port keeps doing so.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm ports add LIST [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm ports add 5432 # forward one more port
|
||
</span></span><span class="line"><span class="cl"> devvm ports add 8000-8010 # forward a range</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global change what new VMs forward instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for add
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/ports-size/#ports">The docs page for devvm ports add</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ports/">devvm ports</a>: Show or change which ports this folder&rsquo;s VM forwards</li>
|
||
</ul></description></item><item><title>devvm ports rm</title><link>https://next.devvm.dev/docs/cli/devvm_ports_rm/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://next.devvm.dev/docs/cli/devvm_ports_rm/</guid><description>
|
||
<p>Stop forwarding some ports from this folder&rsquo;s VM</p>
|
||
<h2 data-hextra-search-id="synopsis">Synopsis<span class="hx:absolute hx:-mt-20" id="synopsis"></span>
|
||
<a href="#synopsis" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Remove LIST&rsquo;s ports and ranges, each as listed, from those this folder&rsquo;s VM forwards, or with -g from those new VMs forward. Removing the last leaves none.</p>
|
||
<div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">devvm ports rm LIST [flags]</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="examples">Examples<span class="hx:absolute hx:-mt-20" id="examples"></span>
|
||
<a href="#examples" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> devvm ports rm 5173 # stop forwarding one port
|
||
</span></span><span class="line"><span class="cl"> devvm ports rm -g 5173 # stop new VMs forwarding it</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options">Options<span class="hx:absolute hx:-mt-20" id="options"></span>
|
||
<a href="#options" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> -g, --global change what new VMs forward instead
|
||
</span></span><span class="line"><span class="cl"> -h, --help help for rm
|
||
</span></span><span class="line"><span class="cl"> --here use this folder&#39;s own VM, never that of a folder it&#39;s inside
|
||
</span></span><span class="line"><span class="cl"> --parent use the VM of the nearest folder this one is inside, even across a git repo of its own</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="options-inherited-from-parent-commands">Options inherited from parent commands<span class="hx:absolute hx:-mt-20" id="options-inherited-from-parent-commands"></span>
|
||
<a href="#options-inherited-from-parent-commands" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
|
||
<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl"> --no-input never ask, and fail where devvm would ask, naming the flag that answers it
|
||
</span></span><span class="line"><span class="cl"> -v, --verbose show the output of the commands devvm runs instead of a status line</span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
|
||
<button
|
||
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
|
||
title="Copy code"
|
||
aria-label="Copy code"
|
||
data-copied-label="Copied!"
|
||
>
|
||
<div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
<div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"></div>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<h2 data-hextra-search-id="docs">Docs<span class="hx:absolute hx:-mt-20" id="docs"></span>
|
||
<a href="#docs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><a href="https://next.devvm.dev/docs/using/ports-size/#ports">The docs page for devvm ports rm</a> explains it in full.</p>
|
||
<h2 data-hextra-search-id="see-also">See also<span class="hx:absolute hx:-mt-20" id="see-also"></span>
|
||
<a href="#see-also" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><ul>
|
||
<li><a href="https://next.devvm.dev/docs/cli/devvm_ports/">devvm ports</a>: Show or change which ports this folder&rsquo;s VM forwards</li>
|
||
</ul></description></item></channel></rss> |