---
layout: docs
page_title: 'Commands: volume'
description: |
  The volume command is used to interact with volumes.
---

# Command: volume

The `volume` command is used to interact with volumes.

## Usage

Usage: `nomad volume <subcommand> [options]`

Run `nomad volume <subcommand> -h` for help on that subcommand. The following
subcommands are available:

- [`volume create`][create] - Create a volume.
- [`volume delete`][delete] - Delete a volume.
- [`volume deregister`][deregister] - Deregister a volume.
- [`volume detach`][detach] - Detach a volume.
- [`volume init`][init] - Create an example volume specification file.
- [`volume register`][register] - Register a volume.
- [`volume snapshot create`][snapshot-create] - Create a volume snapshot.
- [`volume snapshot delete`][snapshot-delete] - Delete a volume snapshot.
- [`volume snapshot list`][snapshot-list] - List all volume snapshots.
- [`volume status`][status] - Display status information about a volume.

[create]: /nomad/docs/commands/volume/create
[delete]: /nomad/docs/commands/volume/delete
[deregister]: /nomad/docs/commands/volume/deregister 'Deregister a volume'
[detach]: /nomad/docs/commands/volume/detach 'Detach a volume'
[init]: /nomad/docs/commands/volume/init 'Create an example volume specification file'
[register]: /nomad/docs/commands/volume/register 'Register a volume'
[snapshot-create]: /nomad/docs/commands/volume/snapshot-create
[snapshot-delete]: /nomad/docs/commands/volume/snapshot-delete
[snapshot-list]: /nomad/docs/commands/volume/snapshot-list
[status]: /nomad/docs/commands/volume/status 'Display status information about a volume'
