Create
Provision a new cloud desktop:Name is only printed when the underlying instance has one. The desktop is ready to receive tool calls immediately.
Pass --json to emit the response as JSON instead of the formatted layout above.
List
List all desktops in your workspace:-q/--quiet to print only desktop IDs (useful for piping into other commands), or --json for the structured form.
Status
Get details for a specific desktop:Delete
Delete a desktop. You’ll be prompted to confirm unless--force is used:
| Flag | Description |
|---|---|
--force, -f | Skip confirmation prompt |
Files
Manage files on a desktop’s shared drive — persisted on EFS, scoped to the desktop, capped at 100 MiB per upload.List Files
/ on the name and <DIR> in the size column (a trailing / in --quiet mode). Pass --path <subdir> to list a specific subdirectory.
| Flag | Description |
|---|---|
--path <subdir>, -p <subdir> | List files in a subdirectory |
--json | Output the response as JSON |
--quiet, -q | Only print file names |
Upload File
application/octet-stream. Pass --path <subdir> to upload into a subdirectory; missing intermediate directories are created on the server.
| Flag | Description |
|---|---|
--name <name> | Remote file name (defaults to basename of local-path) |
--content-type <type> | MIME type (defaults to detection from extension) |
--path <subdir>, -p <subdir> | Upload into the named subdirectory (created if missing) |
--json | Output the response as JSON |
Download File
./<name>. Pass --output <path> (or -o <path>) to override, or --output - to write to stdout. The output file is not overwritten unless --force is passed. Pass --path <subdir> to download from a subdirectory.
| Flag | Description |
|---|---|
--output <path>, -o <path> | Output file path (defaults to ./<name>; - writes to stdout) |
--path <subdir>, -p <subdir> | Download from the named subdirectory |
--force, -f | Overwrite the output file if it exists |
Global Flags
These flags apply to allnen commands:
| Flag | Env Var | Description | Default |
|---|---|---|---|
--api-url | NEN_API_URL | Desktop API base URL | https://desktop.api.getnen.ai |
| — | NEN_API_KEY | Your Nen API key | — |