arianet vps
This reference is generated from the CLI's own help on every release, so it always matches the latest arianet. The command help is the same text arianet <command> --help prints. For installation, configuration and a guided start, see the CLI page.
The global flags work with every command on this page.
arianet vps
Manage virtual private servers (VPS)
Usage
arianet vps <command>
Aliases: server, servers, srv
Subcommands
actions: Show the operation history of a VPScreate: Create a new VPSdelete: Delete a VPSget: Get details of a VPSlist: List your VPSpower-off: Power off a VPSpower-on: Power on a VPSregional: Manage regional VPS servers (e.g. iran-1) through /vps/v1reinstall: Reinstall the OS on a VPSrename: Rename a VPSrestart: Restart a VPSstatus: Get the current status of a VPStoggle-protection: Turn deletion protection on or off
arianet vps actions
Show the operation history of a VPS
Show the operations performed on a VPS (create, restart, reinstall, ...), newest first, with their outcome.
Usage
arianet vps actions <id> [flags]
Examples
arianet vps actions 42
arianet vps actions 42 --limit 50 --output json
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-l, --limit | int | 20 | number of operations to show |
arianet vps create
Create a new VPS
Create a new VPS.
If --plan, --region or --os is omitted, an interactive wizard guides you through the choice.
Authentication: pass --ssh-key <id> to log in with a stored SSH key, or --password to set the root password yourself. With neither, a strong random root password is generated and printed once - save it.
The command waits until the VPS is active (up to --timeout). Use --no-wait to return as soon as the order is accepted.
Every order carries an idempotency key, so a retry after a network failure can never buy a second VPS. If the command is interrupted before it can tell you the outcome, re-run it with the same --idempotency-key it printed.
Usage
arianet vps create [flags]
Examples
arianet vps create # interactive wizard
arianet vps create --plan 5 --region 1 --os 3 --hostname web-01
arianet vps create --plan 5 --region 1 --os 3 --hostname web-01 --ssh-key 2
arianet vps create --plan 5 --region 1 --os 3 --no-wait --yes --output json
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--currency | int | currency ID to pay with (default: your default wallet) | |
--hostname | string | hostname for the server | |
--idempotency-key | string | reuse a key to retry an order safely | |
--no-wait | bool | return as soon as the order is accepted | |
--os | int | OS template ID (see: arianet os list) | |
--password | string | root password (default: a random one is generated and shown once) | |
--plan | int | plan ID (see: arianet plan list) | |
--region | int | region ID (see: arianet region list) | |
--ssh-key | int | log in with this SSH key ID instead of a password (see: arianet ssh list) | |
--timeout | duration | 15m0s | longest time to wait for the server to become active |
-y, --yes | bool | skip confirmation prompt |
arianet vps delete
Delete a VPS
Usage
arianet vps delete <id> [flags]
Examples
arianet vps delete 42
arianet vps delete 42 --yes --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | longest time to wait with --wait |
--wait | bool | wait until the operation has finished | |
-y, --yes | bool | skip confirmation prompt |
arianet vps get
Get details of a VPS
Usage
arianet vps get <id> [flags]
Examples
arianet vps get 42
arianet vps get 42 --output json
arianet vps list
List your VPS
List your VPS.
Without --status, active and suspended VPS are shown. Other statuses include creating, pending, failed, terminated, powering_on, powering_off, restarting and reinstalling_os.
Usage
arianet vps list [flags]
Examples
arianet vps list
arianet vps list --status active
arianet vps list --status terminated
arianet vps list --page 2 --limit 20
arianet vps list --output json
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-l, --limit | int | 15 | results per page (max 100) |
-p, --page | int | 1 | page number |
-s, --status | string | filter by status (default: active and suspended) |
arianet vps power-off
Power off a VPS
Usage
arianet vps power-off <id> [flags]
Examples
arianet vps power-off 42 --yes --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | longest time to wait with --wait |
--wait | bool | wait until the operation has finished | |
-y, --yes | bool | skip confirmation prompt |
arianet vps power-on
Power on a VPS
Usage
arianet vps power-on <id> [flags]
Examples
arianet vps power-on 42 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | longest time to wait with --wait |
--wait | bool | wait until the operation has finished |
arianet vps regional
Manage regional VPS servers (e.g. iran-1) through /vps/v1
Manage VPS servers of the regional VPS product (iran-1): order, power, reinstall, resize, console and traffic.
The commands call /vps/v1 on the API host with your API token. Token scopes: vps:servers:read (reads), vps:servers:write (changes) (a token without scopes may do everything). --region picks a regional install (default: the product's default region). Add -o json to print the service's answer as is.
Token scopes: vps:servers:read (reads), vps:servers:write (changes)
Usage
arianet vps regional <command>
Aliases: region-vps
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--region | string | regional install to call, e.g. iran-1 (default: the product's default region) |
Subcommands
actions: Follow asynchronous operations (actions)api: Send any request to the /vps/v1 API and print the answer as JSONdatacenters: List the region's datacentersimages: List operating system imagesplans: List plans for saleservers: Order and manage servers
arianet vps regional actions
Follow asynchronous operations (actions)
Usage
arianet vps regional actions <command>
Aliases: action
Inherited flags: --region (from arianet vps regional)
Subcommands
get: Show one operationlist: List your latest operationswait: Wait until operations finish; exits non-zero if one fails or the timeout passes
arianet vps regional actions get
Show one operation
Usage
arianet vps regional actions get <action-id> [flags]
Examples
arianet vps regional actions get 812
Inherited flags: --region (from arianet vps regional)
arianet vps regional actions list
List your latest operations
Usage
arianet vps regional actions list [flags]
Aliases: ls
Examples
arianet vps regional actions list --limit 20
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--limit | string | at most this many |
Inherited flags: --region (from arianet vps regional)
arianet vps regional actions wait
Wait until operations finish; exits non-zero if one fails or the timeout passes
Usage
arianet vps regional actions wait <action-id> [<action-id>...] [flags]
Examples
arianet vps regional actions wait 812 813 --timeout 10m
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long to wait |
Inherited flags: --region (from arianet vps regional)
arianet vps regional api
Send any request to the /vps/v1 API and print the answer as JSON
Usage
arianet vps regional api <method> <path> [flags]
Examples
arianet vps regional api GET /openapi.json
arianet vps regional api POST /some/path --data '{"key":"value"}'
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--data | string | the JSON request body | |
--file | string | read the JSON request body from this file |
Inherited flags: --region (from arianet vps regional)
arianet vps regional datacenters
List the region's datacenters
Usage
arianet vps regional datacenters [flags]
Examples
arianet vps regional datacenters
Inherited flags: --region (from arianet vps regional)
arianet vps regional images
List operating system images
Usage
arianet vps regional images [flags]
Examples
arianet vps regional images --datacenter 2
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | only images of this datacenter |
Inherited flags: --region (from arianet vps regional)
arianet vps regional plans
List plans for sale
Usage
arianet vps regional plans [flags]
Examples
arianet vps regional plans --datacenter 2
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | only plans of this datacenter |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers
Order and manage servers
Usage
arianet vps regional servers <command>
Aliases: server
Inherited flags: --region (from arianet vps regional)
Subcommands
actions: List the server's operationsconsole: Get a one-time browser console URLcreate: Order a server (charged to your wallet)delete: Delete a server and its diskget: Show one serverkill: Hard power-off (like pulling the plug)list: List your serversreinstall: Reinstall from an image (the disk is wiped)reset-password: Set the root password (generated when not given)resize: Move to another plan (disks only grow)restart: Restart a serverstart: Power a server onstop: Shut a server down gracefullytraffic: Show network traffic and the period's quota
arianet vps regional servers actions
List the server's operations
Usage
arianet vps regional servers actions <server-id> [flags]
Examples
arianet vps regional servers actions 501 --limit 10
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--limit | string | at most this many |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers console
Get a one-time browser console URL
Usage
arianet vps regional servers console <server-id> [flags]
Examples
arianet vps regional servers console 501 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers create
Order a server (charged to your wallet)
Usage
arianet vps regional servers create [flags]
Examples
arianet vps regional servers create --datacenter thr-1 --plan-id 4 --image ubuntu-24.04 --hostname web-1 --billing-mode hourly --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--billing-mode | string | hourly or monthly (required) | |
--data | string | the JSON request body; flags given as well override its fields | |
--datacenter | string | datacenter code (arianet vps regional datacenters) (required) | |
--file | string | read the JSON request body from this file | |
--hostname | string | server hostname (required) | |
--image | string | image (arianet vps regional images) (required) | |
--password | string | root password (default: generated and shown once) | |
--plan-id | int64 | plan ID (arianet vps regional plans) (required) | |
--project-id | int64 | project to put it in | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers delete
Delete a server and its disk
Usage
arianet vps regional servers delete <server-id> [flags]
Aliases: rm
Examples
arianet vps regional servers delete 501 --reason 'no longer needed' --yes
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--reason | string | why (optional) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip the confirmation prompt |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers get
Show one server
Usage
arianet vps regional servers get <server-id> [flags]
Aliases: show
Examples
arianet vps regional servers get 501
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers kill
Hard power-off (like pulling the plug)
Usage
arianet vps regional servers kill <server-id> [flags]
Examples
arianet vps regional servers kill 501 --yes
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip the confirmation prompt |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers list
List your servers
Usage
arianet vps regional servers list [flags]
Aliases: ls
Examples
arianet vps regional servers list
arianet vps regional servers list -o json
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers reinstall
Reinstall from an image (the disk is wiped)
Usage
arianet vps regional servers reinstall <server-id> [flags]
Examples
arianet vps regional servers reinstall 501 --image 7 --yes --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--image | string | the image (required) | |
--password | string | root password (default: generated and shown once) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip the confirmation prompt |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers reset-password
Set the root password (generated when not given)
Usage
arianet vps regional servers reset-password <server-id> [flags]
Examples
arianet vps regional servers reset-password 501 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--password | string | the new root password | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers resize
Move to another plan (disks only grow)
Usage
arianet vps regional servers resize <server-id> [flags]
Examples
arianet vps regional servers resize 501 --plan-id 9 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--plan-id | int64 | the new plan ID (required) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers restart
Restart a server
Usage
arianet vps regional servers restart <server-id> [flags]
Examples
arianet vps regional servers restart 501 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers start
Power a server on
Usage
arianet vps regional servers start <server-id> [flags]
Examples
arianet vps regional servers start 501 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers stop
Shut a server down gracefully
Usage
arianet vps regional servers stop <server-id> [flags]
Examples
arianet vps regional servers stop 501 --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes |
Inherited flags: --region (from arianet vps regional)
arianet vps regional servers traffic
Show network traffic and the period's quota
Usage
arianet vps regional servers traffic <server-id> [flags]
Examples
arianet vps regional servers traffic 501 --granularity day --from 2026-11-01T00:00:00Z
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--from | string | start (RFC 3339) | |
--granularity | string | hour or day | |
--to | string | end (RFC 3339) |
Inherited flags: --region (from arianet vps regional)
arianet vps reinstall
Reinstall the OS on a VPS
Usage
arianet vps reinstall <id> [flags]
Examples
arianet vps reinstall 42 --os 3
arianet vps reinstall 42 --os 3 --yes --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--os | int | required. OS template ID (see: arianet os list) | |
--timeout | duration | 15m0s | longest time to wait with --wait |
--wait | bool | wait until the operation has finished | |
-y, --yes | bool | skip confirmation prompt |
arianet vps rename
Rename a VPS
Usage
arianet vps rename <id> [flags]
Examples
arianet vps rename 42 --name new-hostname
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | required. new name (1-30 characters) |
arianet vps restart
Restart a VPS
Usage
arianet vps restart <id> [flags]
Examples
arianet vps restart 42
arianet vps restart 42 --yes --wait
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | longest time to wait with --wait |
--wait | bool | wait until the operation has finished | |
-y, --yes | bool | skip confirmation prompt |
arianet vps status
Get the current status of a VPS
Usage
arianet vps status <id> [flags]
Examples
arianet vps status 42
arianet vps status 42 --output json
arianet vps toggle-protection
Turn deletion protection on or off
Turn deletion protection on or off.
With --enable or --disable the state is set explicitly (safe to repeat in scripts). With neither, the current state is flipped.
Usage
arianet vps toggle-protection <id> [flags]
Examples
arianet vps toggle-protection 42 --enable
arianet vps toggle-protection 42 --disable
arianet vps toggle-protection 42
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--disable | bool | turn protection off | |
--enable | bool | turn protection on |