LogoLogo
WebsiteSlack
0.35
0.35
  • Get started
  • Clusters
    • Management
      • Auth
      • Create
      • Update
      • Delete
      • Environments
    • Instances
      • Multi-instance
      • Spot instances
    • Observability
      • Logging
      • Metrics
      • Alerting
    • Networking
      • Load balancers
      • VPC peering
      • HTTPS
      • Custom domain
    • Advanced
      • Setting up kubectl
      • Private Docker registry
      • Self hosted images
  • Workloads
    • Realtime APIs
      • Example
      • Handler
      • Configuration
      • Parallelism
      • Autoscaling
      • Models
      • Multi-model
        • Example
        • Configuration
        • Caching
      • Server-side batching
      • Metrics
      • Statuses
      • Traffic Splitter
        • Example
        • Configuration
      • Troubleshooting
    • Async APIs
      • Example
      • Handler
      • Configuration
      • TensorFlow Models
      • Metrics
      • Statuses
      • Webhooks
    • Batch APIs
      • Example
      • Handler
      • Configuration
      • Jobs
      • TensorFlow Models
      • Metrics
      • Statuses
    • Task APIs
      • Example
      • Definition
      • Configuration
      • Jobs
      • Metrics
      • Statuses
    • Dependencies
      • Example
      • Python packages
      • System packages
      • Custom images
    • Debugging
  • Clients
    • Install
    • Uninstall
    • CLI commands
    • Python client
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.35.0):

pip install cortex==0.35.0

To upgrade to the latest version:

pip install --upgrade cortex

Install without the Python client

# For example to download CLI version 0.35.0 (Note the "v"):
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/v0.35.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 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.

PreviousDebuggingNextUninstall

Last updated 3 years ago