Skip to main content
DVC provides a comprehensive set of commands for managing data, pipelines, experiments, and collaboration. This page lists documented commands organized by their primary function.

Initialize & setup

init

Initialize DVC repository

config

Get or set config options

destroy

Remove DVC files, local DVC config and data cache

version

Display DVC version and system/environment information

Data management

add

Track data files or directories with DVC

checkout

Checkout data files from cache

commit

Save changed data to cache

status

Show changed stages and compare local cache with remote storage

diff

Show added, modified, or deleted data between commits

Remote storage

remote

Set up and manage data remotes

push

Upload tracked files or directories to remote storage

pull

Download tracked files or directories from remote storage

fetch

Download files or directories from remote storage to cache

Pipelines & stages

stage

Commands to list and create stages

run

Legacy command (deprecated - use stage add instead)

repro

Reproduce complete or partial pipelines by executing stages

dag

Visualize DVC project DAG (directed acyclic graph)

Experiments

exp run

Run a new experiment

exp show

Display experiments and their metrics

exp diff

Compare experiments

exp apply

Apply an experiment to the workspace

exp branch

Create a Git branch from an experiment

exp remove

Remove experiments

Metrics & parameters

metrics

Commands to display and compare metrics

params

Commands to display params

plots

Commands to visualize and compare plot data

Cache management

cache

Manage cache settings

Command categories

By use case

  • Getting started: init, config, remote, add
  • Daily workflow: status, add, push, pull, checkout
  • Pipeline development: stage, repro, dag, params, metrics
  • Experimentation: exp run, exp show, exp diff
  • Data analysis: metrics, plots, params, diff
  • Collaboration: push, pull, fetch, remote
  • Maintenance: cache, destroy

By data flow

  1. Track: add
  2. Store: push, commit, cache
  3. Retrieve: pull, fetch, checkout
  4. Inspect: status, diff

Getting help

For detailed help on any command, use:
dvc <command> --help
Or for subcommands:
dvc <command> <subcommand> --help

Common options

Most DVC commands support these common options:
  • -h, --help - Show help message
  • -q, --quiet - Be quiet (less output)
  • -v, --verbose - Be verbose (more output)
  • --version - Show program version

Next steps

Quickstart

Get started with DVC in 5 minutes

User guides

Step-by-step guides for common workflows

Python API

Python API documentation

Configuration

Learn about DVC configuration options

Build docs developers (and LLMs) love