Install the command-line tool for creating apps.
Prerequisites
uv (Required)
The CLI uses uv for Python environment management:
bash
1curl -LsSf https://astral.sh/uv/install.sh | sh2 3# Windows4powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Hardware
| App Type | Development Environment |
|---|---|
| CPU apps | Any machine |
| GPU apps | Requires NVIDIA CUDA GPU |
Install CLI
bash
1curl -fsSL https://cli.inference.sh | shVerify
bash
1infsh versionLogin
bash
1infsh loginOpens a browser to authenticate.
Check your account
bash
1infsh meShows your username and team.
What you can do
| Command | Purpose |
|---|---|
infsh app init | Create a new app |
infsh app run | Test locally |
infsh app deploy | Deploy to inference.sh |
infsh app ls | List your apps |
Next
→ Coding Agents — Build with AI assistants
→ Creating an App — Manual setup