Skip to main content
The instapods files commands let you manage files inside your pods without SSH.

List Files

Lists files and directories. The path argument is optional and defaults to the pod’s app root. Output includes file name, size, and permissions.

Read a File

Outputs the file contents to stdout.

Write a File

Creates or overwrites a file with the given content. You can also pipe content via stdin:

Create a Directory

Use -p to create parent directories recursively (like mkdir -p).

Upload a File

Uploads a local file to the pod. If --remote is not specified, the file is placed in the pod’s app root with the same filename.

Sync a Directory

Recursively uploads an entire local directory to the pod. Shows progress with checkmarks for each file uploaded.

Sync Flags

Examples

Common patterns like node_modules, .git, .env, __pycache__, and .DS_Store are excluded by default. Add --exclude flags for any additional patterns you want to skip.
PHP preset: The web root is /home/instapod/app/public, not /home/instapod/app. Upload your public-facing files (index.php, CSS, JS) to the public/ subdirectory, and application logic to the app root.