Documentation

deepctl - command line tool

Needs to be improved

Installation

Let's start by installing the deepctl command line tool.

Linux, MacOS

curl https://deepinfra.com/get.sh | sh

Download from Github

You can also download deepctl from Releases.

Sign in

You need a Github account to use deepctl. This command will open a Github Sign-on page in your browser.

deepctl auth login

Auth token

You can view your Deep Infra API auth token to use it in your applications using the following command or in the dashboard.

deepctl auth token

List your deployments

deepctl deploy list

Output:

[
  {
    "created_at": "2023-01-26T19:33:23",
    "deploy_id": "DpM4BkrjEspUwmTa",
    "fail_reason": "",
    "model_name": "openai/whisper-small",
    "status": "running",
    "task": "automatic-speech-recognition",
    "updated_at": "2023-01-26T19:33:23"
  }
]

Monitor Logs

Use deploy_id from the output above.

deepctl log query -f DpM4BkrjEspUwmTa

Delete deployment

Use deploy_id from the output above to delete the deployment.

deepctl deploy delete DpM4BkrjEspUwmTa

More information

You can always use

deepctl help

to view more information on any command.

Check version and update

deepctl version check
deepctl version update