Skip to main content
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

--no-create-dirs
flag
Require parent directories to already exist instead of creating them.
--ssh-key
string
Path to an SSH private key when the command uses SSH.
--ssh-user
string
default:"root"
SSH user when the command uses SSH.
--comm-channel
string
Host-to-guest control channel. Use ssh, vsock, or omit it for auto-selection.
--json
flag
Print a JSON envelope instead of formatted text.

Upload a file

Force the guest-agent channel on a recent Linux sandbox:

Download a file

Use JSON output

Last modified on June 24, 2026