Skip to main content

CLI

Command-line interface for PolarGrid Edge AI Infrastructure.

Installation

Quick Start

Authentication

Browser Login (Interactive)

Opens your browser for OAuth authentication. Your credentials are stored encrypted at rest in your OS keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service), with an AES-256-GCM encrypted file at ~/.polargrid/credentials.enc as a fallback where no keychain is available.

API Key (CI/CD)

For CI/CD pipelines, no login is needed. Just set the environment variable:

Check Current Session

Shows your email, user ID, and current organization.

Logout

Shell Completions

Enable tab-completion for commands, subcommands, and flags:

Next Steps

All Commands

Complete command reference for auth, inference, models, GPU, and more