Release Notes
- New VMs come set up the way you like. List packages in
~/.vx/config.toml ([new] install = ["git", "build-tools"]) and every vx new installs them once the VM is up, then runs your own setup script if you give one (setup = "~/.vx/setup.sh", run as you). build-tools, python, node, go, rust and fd work on every distro; other names are the distro's own. vx new --install, --setup and --bare change it for one VM, the dashboard's new-VM form shows it, and vx install <vm> <packages> installs into an existing VM.
- Port forwarding.
vx port dev 8080:80 makes localhost:8080 reach port 80 in dev, or vx port dev 3000 uses the same port on both sides. A running VM picks it up straight away, and it's saved in vx.toml for next time. vx port dev lists them, vx port rm dev 8080 removes one, and f in the dashboard does all three.
- Copying files.
vx cp copies files and directories into or out of a VM: vx cp notes.txt src/ dev:/tmp/, vx cp dev:out.log .. It starts the VM first if it's stopped.
- The highlighted snapshot is now called the current snapshot: the one the VM's state is based on.
vx ssh to a paused VM says to resume it, instead of hanging.
Install vx 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/AlexanderWangY/vx/releases/download/v0.3.0/vx-installer.sh | sh
Install prebuilt binaries via Homebrew
brew install AlexanderWangY/tap/vx
Download vx 0.3.0