v6ctl
The official CLI for the v6Node API. Deploy and manage VPS nodes, SSH keys, and webhooks — interactively with Rich tables, or scripted with --json.
pipx install v6ctl
v6ctl config set token v6_...
v6ctl nodes list
Contributors: this package is published to PyPI.
README.mdbecomes the public project description and the wheel shipsv6ctl.pyin full, so code comments and--helptext are public too../release.sh verifyscans the built artifacts for internal host names, site codes, CPU models and algorithms, and refuses to publish if it finds any.
Install
pipx install v6ctl # recommended — isolated, upgradable
pip install v6ctl # works too
No pipx? brew install pipx (macOS), sudo apt install pipx (Debian/Ubuntu),
or python3 -m pip install --user pipx && python3 -m pipx ensurepath.
Configure
Get a token from the v6Node dashboard, then:
v6ctl config set token v6_...
Stored at ~/.config/v6ctl/config.json with mode 0600. Or set V6_TOKEN in
your environment.
Several accounts
Give each extra account a named profile. Commands without --profile keep
using the token set above.
v6ctl --profile work config set token v6_...
v6ctl --profile work nodes list
V6_PROFILE=work v6ctl nodes list # same, for a whole shell or script
An unknown profile name fails and lists the profiles you have, so a typo never falls back to the wrong account.
Recipes
Deploy a node in one line
v6ctl nodes create -r frankfurt-2 -p 8gb -k laptop -t debian-13
Add --wait to block until the deploy has finished and the node is running. It exits non-zero if the
deploy failed or did not finish within --timeout seconds (default 600).
rebuild, start, stop, shutdown and reboot take the same flags; the
power commands wait until the node is in the target state, which counts as done
if it already was.
delete does not: the API cannot observe when the VM is gone, so subscribe to
the node.deleted webhook instead. reboot --wait needs a node that has been
running for at least a minute, since it confirms the reboot by uptime starting
over; otherwise it refuses before sending anything.
Or run v6ctl nodes create on a TTY and answer the prompts. Each of
--region, --plan, --key, --template takes an ID, slug, or name —
whichever you remember.
Add a dedicated IPv4 at deploy
v6ctl nodes create -r frankfurt-2 -p 8gb -k laptop -t debian-13 \
--address dedicated_ipv4
Pin a specific image build with --flavor <id>.
Manage addresses after deploy
v6ctl nodes addresses <pay-id> # existing list shorthand
v6ctl nodes addresses add <pay-id> dedicated_ipv4 # asks first; --yes skips
v6ctl nodes addresses add <pay-id> public_ipv6
v6ctl nodes addresses add <pay-id> routed_ipv6
v6ctl nodes addresses delete <pay-id> <address-id>
dedicated_ipv4 is billable, so add asks before allocating it. Pass --yes
to skip the question; without a terminal (scripts, CI, --json) --yes is
required. Routed IPv6 allocation is asynchronous and has no --wait: the API
lists the prefix before its route is in place, so watch the address.created /
address.allocation_failed webhook events instead. Shared IPv4 is
not offered. If an add or delete returns HYPERVISOR_ERROR, list the addresses
before doing anything else—the allocation or release may already be committed.
Group nodes into projects
Projects are created in the panel. The CLI lists them and moves nodes between
them; --project takes an ID or the project name.
v6ctl projects
v6ctl nodes list --project production
v6ctl nodes update <pay-id> --project production
v6ctl nodes update <pay-id> --no-project
Inspect a node, including every IP
v6ctl nodes show <node>
v6ctl nodes list -A # every address per node
v6ctl --wide nodes # every column, full IDs, never trimmed
Tables fit your terminal: less important columns step aside when it is narrow (the footer names them), and nothing that is shown is ever cut off.
Refer to a node by short ID or hostname
Any command that takes a node accepts the full ID, the short ID that
nodes list shows (8+ characters), or the hostname:
v6ctl nodes reboot 3f2a9c1e --wait
v6ctl nodes show web-1.example.com
v6ctl nodes show name:3f2a9c1e # force a hostname that looks like an ID
If a short ID or hostname could mean more than one node, the command stops and
lists them. --yes only accepts the full ID, so unattended scripts never act on
whatever a name happens to match.
Manage SSH keys
v6ctl keys list
v6ctl keys create -d "laptop" -k "ssh-ed25519 AAAA..."
Subscribe a webhook to deploy events
v6ctl webhooks create -u https://example.com/hook -e node.deployed
Browse the catalog
v6ctl plans # plans + pricing
v6ctl regions # available regions
v6ctl templates # OS templates and flavors
Script it
v6ctl --json nodes list | jq '.items[].pay_id'
v6ctl --json plans | jq '.[] | select(.memory_mb >= 4096)'
Every command supports --json and exits non-zero on failure. In
non-interactive mode (pipe, CI, or --json), prompts are disabled and
missing required flags are an error — so CI fails fast instead of hanging.
v6ctl --help and v6ctl <command> --help are the source of truth for
every flag.
Configuration precedence
| Source | Priority |
|---|---|
--flag on the command line |
1 (highest) |
Env vars (V6_TOKEN, V6_API_URL) |
2 |
Selected profile (--profile or V6_PROFILE) in the config file |
3 |
| Config file top-level settings | 4 |
| Built-in defaults | 5 (lowest) |
v6ctl config show # resolved config, token redacted
v6ctl config path
v6ctl config set api_url https://cloud.v6node.com/api/v1
v6ctl config unset token
Requirements
Python 3.10 or newer.
License
MIT — see LICENSE.
Metadata
Release files for v6ctl 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| v6ctl-0.9.0.tar.gz | 40.9 kB | Without provenance | Details for v6ctl-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| v6ctl-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for v6ctl-0.9.0-py3-none-any.whl |
Total release size: 70.3 kB
Release files / v6ctl-0.9.0.tar.gz
| Download URL | v6ctl-0.9.0.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0e9bf4ed63ba32c5e45a010cf861e78bc0ebc83a185d549f3bd0d5d891d30da
|
|
BLAKE2b-256 checksum How to use checksums |
241ced717c7364e07466a62266df588759c41e3bdcef70e0fca8a55ebe3ab49f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / v6ctl-0.9.0-py3-none-any.whl
| Download URL | v6ctl-0.9.0-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a08280476c3a6354fb9197c9db0dd173c60bfb3b4ad7976f6a2cb8b891e8030e
|
|
BLAKE2b-256 checksum How to use checksums |
976eee58ee1772b789c801886d7249735486361c01d120f54665dda158241eaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for v6ctl 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.