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
borealhost-sdk— Python SDKborealhost-mcp— MCP server for AI agents
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
borealhost-0.4.0.tar.gz
(24.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file borealhost-0.4.0.tar.gz.
File metadata
- Download URL: borealhost-0.4.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d61ac7f565f9ff9c365d44c44bc4e78186d8ab8c6b06925f1422433ad1503a5c
|
|
| MD5 |
f5d1dacf2681ac6aa817955313b3ec0e
|
|
| BLAKE2b-256 |
60ab7773202ac35d3d5cb67fdccc6332e26ca51a5e7d4e5aeb3acc008c4123ef
|
File details
Details for the file borealhost-0.4.0-py3-none-any.whl.
File metadata
- Download URL: borealhost-0.4.0-py3-none-any.whl
- Upload date:
- Size: 62.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc6d0a778d827840a1a8816d6d527409cff1706397b542d81f77ddd0bb308b3a
|
|
| MD5 |
6fd4b8e2e6911c7cdb731ce4643d6c17
|
|
| BLAKE2b-256 |
5fd3ea9796037373dcc0fcddeabee91d4becc372bc08fe7477fc0f892d51d323
|