18.3. Shell interface for the Proxmox VE API

The Proxmox VE management tool (pvesh) allows to directly invoke API function, without using the REST/HTTPS server.

Note

Only root is allowed to do that.

Get the list of nodes in my cluster

# pvesh get /nodes

Get a list of available options for the data center

# pvesh usage cluster/options -v

Set the HTMl5 NoVNC console as the default console for the data center

# pvesh set cluster/options -console html5