Back to Hermes Agent

CLI Reference

optional-skills/devops/cli/references/cli-reference.md

2026.6.53.1 KB
Original Source

CLI Reference

Installation

bash
curl -fsSL https://cli.inference.sh | sh

Global Commands

CommandDescription
infsh helpShow help
infsh versionShow CLI version
infsh updateUpdate CLI to latest
infsh loginAuthenticate
infsh meShow current user

App Commands

Discovery

CommandDescription
infsh app listList available apps
infsh app list --category <cat>Filter by category (image, video, audio, text, other)
infsh app search <query>Search apps
infsh app list --search <query>Search apps (flag form)
infsh app list --featuredShow featured apps
infsh app list --newSort by newest
infsh app list --page <n>Pagination
infsh app list -lDetailed table view
infsh app list --save <file>Save to JSON file
infsh app myList your deployed apps
infsh app get <app>Get app details
infsh app get <app> --jsonGet app details as JSON

Execution

CommandDescription
infsh app run <app> --input <file>Run app with input file
infsh app run <app> --input '<json>'Run with inline JSON
infsh app run <app> --input <file> --no-waitRun without waiting for completion
infsh app sample <app>Show sample input
infsh app sample <app> --save <file>Save sample to file

Task Commands

CommandDescription
infsh task get <task-id>Get task status and result
infsh task get <task-id> --jsonGet task as JSON
infsh task get <task-id> --save <file>Save task result to file

Development

CommandDescription
infsh app initCreate new app (interactive)
infsh app init <name>Create new app with name
infsh app test --input <file>Test app locally
infsh app deployDeploy app
infsh app deploy --dry-runValidate without deploying
infsh app pull <id>Pull app source
infsh app pull --allPull all your apps

Environment Variables

VariableDescription
INFSH_API_KEYAPI key (overrides config)

Shell Completions

bash
# Bash
infsh completion bash > /etc/bash_completion.d/infsh

# Zsh
infsh completion zsh > "${fpath[1]}/_infsh"

# Fish
infsh completion fish > ~/.config/fish/completions/infsh.fish

App Name Format

Apps use the format namespace/app-name:

  • falai/flux-dev-lora - fal.ai's FLUX 2 Dev
  • google/veo-3 - Google's Veo 3
  • infsh/sdxl - inference.sh's SDXL
  • bytedance/seedance-1-5-pro - ByteDance's Seedance
  • xai/grok-imagine-image - xAI's Grok

Version pinning: namespace/app-name@version

Documentation