CLI Tools

The Nubis CLI provides a powerful command-line interface for managing your cloud infrastructure.

Installation

Install the CLI on macOS, Linux, or Windows:

macOS / Linux:

curl -fsSL https://cli.usenubis.com/install.sh | sh

Windows (PowerShell):

iwr https://cli.usenubis.com/install.ps1 -useb | iex

Using npm:

npm install -g @nubis/cli

Getting Started

After installation, authenticate with your account:

Nubis auth login

This will open your browser to complete the authentication process.

Common Commands

Compute

Nubis compute create --name my-instance --size medium
Nubis compute list
Nubis compute delete my-instance

Storage

Nubis storage create --name my-bucket
Nubis storage upload ./file.txt my-bucket
Nubis storage list my-bucket

Deployment

Nubis deploy --source ./my-app
Nubis logs --follow
Nubis rollback

Configuration

The CLI stores configuration in ~/.Nubis/config.json. You can view and edit your configuration:

Nubis config get
Nubis config set default-region us-west

Need More Help?

Use Nubis --help to see all available commands, or Nubis [command] --help for detailed help on a specific command.