List Pods
Create a Pod
-w to wait until the pod is fully running before returning.
Create Flags
The
--preset flag is optional. If omitted, the CLI auto-detects the preset from your current directory by looking for signature files like package.json (Node.js), composer.json (PHP), requirements.txt (Python), or index.html (Static).Examples
Get Pod Details
Start / Stop / Restart
restart stops and starts the whole container, so everything inside comes back up: your app, nginx,
and any database service you installed. It does not install dependencies and does not build anything
- it runs whatever is already on disk. That makes it the command for picking up a file you uploaded or edited on the pod, or clearing a stuck process.
Lifecycle Flags
Resize
Change a pod’s plan (and its associated resources):--plan flag is required. Resources (CPU, memory, disk) are automatically set based on the target plan.
Reload Application
Restart the application services inside the pod, without restarting the pod itself:- Static: nginx
- PHP: nginx + PHP-FPM
- Node.js, Python, Go:
appsystemd service
package.json, requirements.txt,
composer.json or go.mod in the app directory triggers npm install, pip install,
composer install or go mod download before the restart, and the nodejs and go presets are
rebuilt. If the pod is stopped, reload starts it first.
This is the same step instapods deploy runs after uploading your files, so after a deploy you do
not need to reload as well.
Delete
After you confirm an interactive delete, the CLI asks one optional question about why. Press Enter to skip it. It is skipped entirely under
-f, --json, or a non-interactive stdin, so it never blocks a script.
JSON Output
Add--json to any command for machine-readable JSON output: