LogoLogo
WebsiteSlack
0.30
0.30
  • Get started
  • Clients
    • Install
    • CLI commands
    • Python API
    • Environments
    • Telemetry
    • Uninstall
  • Workloads
    • Realtime APIs
      • Example
      • Predictor
      • Configuration
      • Models
      • Parallelism
      • Server-side batching
      • Autoscaling
      • Statuses
      • Metrics
      • Multi-model
        • Example
        • Configuration
        • Caching
      • Traffic Splitter
        • Example
        • Configuration
      • Troubleshooting
    • Batch APIs
      • Example
      • Predictor
      • Configuration
      • Jobs
      • Statuses
    • Task APIs
      • Example
      • Definition
      • Configuration
      • Jobs
      • Statuses
    • Dependencies
      • Example
      • Python packages
      • System packages
      • Custom images
    • Observability
      • Logging
      • Metrics
  • Clusters
    • AWS
      • Install
      • Update
      • Auth
      • Security
      • Spot instances
      • Networking
        • Custom domain
        • HTTPS (via API Gateway)
        • VPC peering
      • Setting up kubectl
      • Uninstall
    • GCP
      • Install
      • Credentials
      • Setting up kubectl
      • Uninstall
    • Private Docker registry
Powered by GitBook
On this page
  • Install with pip
  • Install without the Python client
  • Changing the CLI/client configuration directory
  1. Clients

Install

Install with pip

To install the latest version:

pip install cortex

To install or upgrade to a specific version (e.g. v0.30.0):

pip install cortex==0.30.0

To upgrade to the latest version:

pip install --upgrade cortex

Install without the Python client

# For example to download CLI version 0.30.0 (Note the "v"):
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.30.0/get-cli.sh)"

By default, the Cortex CLI is installed at /usr/local/bin/cortex. To install the executable elsewhere, export the CORTEX_INSTALL_PATH environment variable to your desired location before running the command above.

Changing the CLI/client configuration directory

By default, the Cortex CLI/client creates a directory at ~/.cortex/ and uses it to store environment configuration. To use a different directory, export the CORTEX_CLI_CONFIG_DIR environment variable before running any cortex commands.

PreviousGet startedNextCLI commands

Last updated 4 years ago