smolvm sandbox file copies individual files between your host and a sandbox. Use it when you need to send a prompt, collect an artifact, or avoid sharing a whole folder.
Synopsis
Shared options
flag
Require parent directories to already exist instead of creating them.
string
Path to an SSH private key when the command uses SSH.
string
default:"root"
SSH user when the command uses SSH.
string
Host-to-guest control channel. Use
ssh, vsock, or omit it for auto-selection.flag
Print a JSON envelope instead of formatted text.
Upload a file
Download a file
Use JSON output
Related commands
- Host mounts - Share a whole folder
smolvm sandbox env- Set config values- Control channel - Learn how file transfer chooses SSH or vsock
