CosmicAC Logo

Installation

Install and configure the CosmicAC CLI to interact with CosmicAC services from your terminal. The CLI lets you manage jobs, access containers, and run inference.


Prerequisites

  • Node.js installed
  • npm installed

Install the CLI

Clone and install the CLI:

git clone https://github.com/tetherto/cosmicac-cli.git
cd cosmicac-cli
npm install

Authenticate

Log in to your CosmicAC account:

npx cosmicac login

This opens your browser for authentication. If the browser doesn't open automatically, copy the URL from the terminal and paste it into your browser. Complete the login to continue.

Verify installation

Run the following command to verify the CLI is installed correctly:

npx cosmicac --help

If you see the list of available commands, you're all set.


What's next?

On this page