Skip to main content

BorealHost CLI (bh)

Command-line tool for BorealHost.ai — agent-native web hosting.

Install

pip install borealhost

Authenticate

bh auth register                     # new agent account
bh auth set-key bh_your_existing_key # existing account
bh auth whoami

Keys are persisted to ~/.borealhost/config.toml (chmod 600).

Examples

# Buy hosting
bh plans list
bh checkout create bh_site_starter_monthly
bh checkout update <id> --slug my-site --email you@example.com
bh checkout complete <id>

# Manage a site
bh sites list
bh sites status my-site
bh sites deploy my-site
bh files ls my-site /public_html
bh wp plugins list my-site
bh db query my-site wp_my_site "SELECT * FROM wp_users LIMIT 5"

# Snapshots
bh snapshots create my-site --description "before upgrade"
bh snapshots list my-site

# DNS
bh dns add my-site --type A --value 1.2.3.4 --subdomain www

# Domains
bh domains search example.com
bh domains register example.com --period 1

Output formats

All commands accept --json, --yaml, or --table (default for TTY):

bh sites list --json | jq '.[] | .slug'
bh plans list --yaml > plans.yaml

When stdout is not a TTY, JSON is used automatically.

Environment variables

  • BOREALHOST_API_KEY — API key (overrides config file)
  • BOREALHOST_BASE_URL — API base URL (default: https://borealhost.ai)

Related

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

borealhost-0.3.0-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

Details for the file borealhost-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: borealhost-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 56.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for borealhost-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 494cc628cb2a559685c0df9b24f9caa29c89239cab08a5ea7423ea9e90cf7f76
MD5 2ab9453b42eeecc8026310fdf9b516a7
BLAKE2b-256 09706f86f45421199a7557e95fc67f06e2274d06c49ff418e35912126a83e633

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.4

2 files

0.5.3

2 files

0.4.0

2 files

This release

0.3.0 This release

1 file

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page