brev-cli

command module
v0.6.317 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 5 Imported by: 0

README

NVIDIA Brev CLI

NVIDIA Brev provides streamlined access to NVIDIA GPU instances on popular cloud platforms, automatic environment setup, and flexible deployment options, enabling developers to start experimenting instantly.

Install the cli

From conda-forge

To globally install brev from conda-forge in an isolated environment with Pixi, run

pixi global install brev
MacOS

Assumes Homebrew (or Workbrew equivalent) are installed.

brew install brevdev/homebrew-brev/brev && brev login
Linux
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/bin/install-latest.sh)"
brev login
Windows

Using Brev With Windows Subsystem for Linux (WSL)

Brev is supported on windows currently through the Windows Subsystem for Linux (WSL). This guide will walk you through the steps to get Brev up and running on your Windows machine.

Prerequisites

  • WSL installed and configured
  • Virtualization enabled in your BIOS
  • Ubuntu 20.04 installed from the Microsoft Store

Once you have WSL installed and configured, you can install Brev by running the following command in your terminal:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/bin/install-latest.sh)"

Next Steps

Log in to your Brev account:

brev login

Get Started

https://brev.nvidia.com/

Docs

https://docs.nvidia.com/brev/latest/


https://user-images.githubusercontent.com/14320477/170176621-6b871798-baef-4d42-affe-063a76eca9da.mp4

AI Agent Integration

Brev CLI includes a skill for AI coding agents (like Claude Code) that enables natural language GPU instance management.

# Install via CLI
brev agent-skill

# Or via standalone installer
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-agent-skill.sh | bash

Once installed, you can say things like "create an A100 instance for ML training" or "search for GPUs with 40GB VRAM" in your AI coding agent.

Contributing

We welcome PRs! Checkout Contributing.md for more.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
e2etest
pkg
cmd
Package cmd is the entrypoint to cli
Package cmd is the entrypoint to cli
cmd/agentskill
Package agentskill handles installation of the Brev CLI agent skill
Package agentskill handles installation of the Brev CLI agent skill
cmd/create
Deprecated: This package is superseded by pkg/cmd/gpucreate which is the registered "brev create" command.
Deprecated: This package is superseded by pkg/cmd/gpucreate which is the registered "brev create" command.
cmd/gpucreate
Package gpucreate provides a command to create GPU instances with retry logic
Package gpucreate provides a command to create GPU instances with retry logic
cmd/gpusearch
Package gpusearch provides a command to search and filter GPU instance types
Package gpusearch provides a command to search and filter GPU instance types
cmd/healthcheck
Package healthcheck checks the health of the backend
Package healthcheck checks the health of the backend
cmd/invite
Package invite is for inviting
Package invite is for inviting
cmd/login
Package login is for the get command
Package login is for the get command
cmd/logout
Package logout is for the logout command
Package logout is for the logout command
cmd/ls
Package ls lists workspaces in the current org
Package ls lists workspaces in the current org
cmd/ollama
Package ollama is for starting AI/ML model workspaces
Package ollama is for starting AI/ML model workspaces
cmd/recreate
Package recreate is for the recreate command
Package recreate is for the recreate command
cmd/refresh
Package refresh lists workspaces in the current org
Package refresh lists workspaces in the current org
cmd/register
Package register provides the brev register command for DGX Spark registration
Package register provides the brev register command for DGX Spark registration
cmd/set
Package set is for the set command
Package set is for the set command
cmd/sshkeys
Package sshkeys gets your public ssh key to add to github/gitlab
Package sshkeys gets your public ssh key to add to github/gitlab
cmd/start
Package start is for starting Brev workspaces
Package start is for starting Brev workspaces
cmd/stop
Package stop is for stopping Brev workspaces
Package stop is for stopping Brev workspaces
ids
ssh
Package ssh exists to provide an api to configure and read from an ssh file
Package ssh exists to provide an api to configure and read from an ssh file
terminal
Package terminal is for terminal outputting
Package terminal is for terminal outputting
uri
Package uri defines a simple uri type
Package uri defines a simple uri type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL