Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@proxman-io/cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proxman-io/cli

ProxManLib command-line interface — drive Proxmox VE from the shell or an agent

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
11
10%
Maintainers
1
Weekly downloads
 
Created
Source

@proxman-io/cli

Command-line interface for ProxManLib. Drives any Proxmox VE cluster from the shell or from an agent host. Structured JSON output mode (--json) makes it a clean integration target for nanopilot / Spark / any tool-calling agent.

Install

npm install -g @proxman-io/cli
proxman --help

Or use it one-off without a global install:

npx @proxman-io/cli --help

Configuration

Every command needs a Proxmox host and API token. Supply via environment (preferred) or flags.

Env varFlagPurpose
PROXMOX_HOST--host <host>Proxmox hostname or IP
PROXMOX_TOKEN--token <token>API token (USER@REALM!TOKENID=UUID)
PROXMOX_FINGERPRINT--fingerprint <fp>SHA-256 cert fingerprint
PROXMOX_CA_CERT--ca-cert <path>Path to CA cert PEM
PROXMOX_INSECURE=1--tls-mode insecureSkip TLS verification (lab only)
--tls-mode <ca|fingerprint|insecure>Explicit TLS policy
--timeout <ms>Request timeout
--jsonStructured JSON output (for agents)

If no TLS mode is specified, ca is used — relying on the system trust store unless PROXMOX_CA_CERT is set.

Commands

proxman nodes

proxman nodes list                  # list cluster nodes
proxman nodes status <node>         # runtime status for a node

proxman qemu

proxman qemu list <node>
proxman qemu config <node> <vmid>
proxman qemu start <node> <vmid> [--wait] [--wait-timeout <ms>]
proxman qemu stop <node> <vmid> [--wait]
proxman qemu shutdown <node> <vmid> [--wait]

--wait polls the returned task UPID to completion and sets a non-zero exit code on failure/timeout.

proxman lxc

proxman lxc list <node>
proxman lxc config <node> <vmid>
proxman lxc start <node> <vmid> [--wait]
proxman lxc stop <node> <vmid> [--wait]
proxman lxc shutdown <node> <vmid> [--wait]

proxman storage

proxman storage list <node>

proxman task

proxman task list <node> [--limit <n>] [--source active|all|archive]
proxman task status <node> <upid>
proxman task wait <node> <upid> [--timeout <ms>] [--interval <ms>]

proxman tool call

Unified tool-adapter entry — policy-enforced, structured output. Ideal for agent integration.

proxman tool call <operation> \
  [--node <node>] [--vmid <vmid>] \
  [--params '<json>'] \
  [--confirm-risk high|destructive] \
  [--allow-destructive] \
  [--json]

<operation> is any OperationKind (listNodes, startQemu, deleteLxc, etc.). High-risk and destructive operations are rejected unless confirmation flags match.

Exit codes

CodeMeaning
0Success
1Runtime/configuration error (missing host, auth failure, network)
2tool call blocked by policy or returned ok: false

JSON output

With --json, every command writes a single JSON document to stdout (errors to stderr). Shape depends on the command — see docs/cli.md for the contract.

proxman --json nodes list
proxman --json qemu start pve1 101 --wait
proxman --json tool call deleteLxc --node pve1 --vmid 200 \
  --confirm-risk destructive --allow-destructive

Agent integration

nanopilot / Spark should call proxman tool call <operation> --json. The result is a single ToolResult JSON object with fields ok, operation, risk, target, data, taskRef?, error?, summary. Non-zero exit code on failure — check ok or the exit code.

See the root README for library-level usage.

Keywords

proxmox

FAQs

Package last updated on 21 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts