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
Require parent directories to already exist instead of creating them.
Path to an SSH private key when the command uses SSH.
SSH user when the command uses SSH.
Host-to-guest control channel. Use
ssh, vsock, or omit it for auto-selection.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
