pvesh(1)
| PVESH(1) | Proxmox VE Documentation | PVESH(1) |
NAME
pvesh - Shell interface for the Proxmox VE API
SYNOPSIS
pvesh <COMMAND> [ARGS] [OPTIONS]
pvesh create <api_path> [OPTIONS] [FORMAT_OPTIONS]
Call API POST on <api_path>.
<api_path>: <string>
--noproxy <boolean>
pvesh delete <api_path> [OPTIONS] [FORMAT_OPTIONS]
Call API DELETE on <api_path>.
<api_path>: <string>
--noproxy <boolean>
pvesh get <api_path> [OPTIONS] [FORMAT_OPTIONS]
Call API GET on <api_path>.
<api_path>: <string>
--noproxy <boolean>
pvesh help [OPTIONS]
Get help about specified command.
--extra-args <array>
--verbose <boolean>
pvesh ls <api_path> [OPTIONS] [FORMAT_OPTIONS]
List child objects on <api_path>.
<api_path>: <string>
--noproxy <boolean>
pvesh set <api_path> [OPTIONS] [FORMAT_OPTIONS]
Call API PUT on <api_path>.
<api_path>: <string>
--noproxy <boolean>
pvesh usage <api_path> [OPTIONS]
print API usage information for <api_path>.
<api_path>: <string>
--command <create | delete | get | set>
--returns <boolean>
--verbose <boolean>
DESCRIPTION
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.
FORMAT_OPTIONS
It is possible to specify the output format using the --output-format parameter. The default format text uses ASCII-art to draw nice borders around tables. It additionally transforms some values into human-readable text, for example:
You can also completely suppress output using option --quiet.
--human-readable <boolean> (default = 1)
--noborder <boolean> (default = 0)
--noheader <boolean> (default = 0)
--output-format <json | json-pretty | text | yaml> (default = text)
--quiet <boolean>
EXAMPLES
Get the list of nodes in my cluster
# pvesh get /nodes
Get a list of available options for the datacenter
# pvesh usage cluster/options -v
Set the HTMl5 NoVNC console as the default console for the datacenter
# pvesh set cluster/options -console html5
COPYRIGHT AND DISCLAIMER
Copyright © 2007-2022 Proxmox Server Solutions GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/
AUTHOR
Proxmox Server Solutions Gmbh
www.proxmox.com
| Mon Jul 6 13:48:20 UTC 2026 | 9.2.2 |
