BorealHost CLI (bh)
Command-line tool for BorealHost.ai — agent-native web hosting.
Install
pip install borealhost
0.5.6 release notes
bh backups download now waits for asynchronous backup exports, reports when
preparation is in progress, and accepts --max-wait to control the timeout.
Upgrade older installations before downloading backups: this release requires
borealhost-sdk>=0.5.3, preventing a cached SDK that saves the pending 202
JSON response in place of the archive.
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
borealhost-sdk— Python SDKborealhost-mcp— MCP server for AI agents
Metadata
Release files for borealhost 0.5.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| borealhost-0.5.6.tar.gz | 52.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| borealhost-0.5.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 128.0 kB
Release files / borealhost-0.5.6.tar.gz
| Download URL | borealhost-0.5.6.tar.gz |
|---|---|
| Size | 52.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0836101889d6843cbe48e3cb15f6505f4af7e78cb83aeb8b275f38d7fe4be99a
|
|
BLAKE2b-256 checksum How to use checksums |
e4d847abf8c7815500da76c4f4868be4634f0c9d83c44f5c7e6ab8f3ba080855
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / borealhost-0.5.6-py3-none-any.whl
| Download URL | borealhost-0.5.6-py3-none-any.whl |
|---|---|
| Size | 75.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0df684eec962e7f6598bae6a6f925020d361590190ee42c220965c24d62f47a0
|
|
BLAKE2b-256 checksum How to use checksums |
4baa7b75b6b740cbb3461e454bbf915270d3f78ba218f6bf3878c23b6fd49e26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|