All apps/DVC

DVC

dvc

Manage data the way code is managed.

Runs as dvc|macOS, Linux, Windows|dvc.org

Command form

ai-draft · 5 tasks · 32 fields

Common DVC jobs: track data, push and pull it, and reproduce pipelines. Other subcommands (experiments, metrics, plots, remote setup) are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui dvc
Data Version ControlExample values, fixed in this page — nothing here reaches a terminal
Basic
Run in directory
directory
ParametersOnly these flags are editable in the form
Run in directory
path
--cd

dvc add

Track data

Track files or directories with DVC. Remote upload, glob and relink options are left out.

Track dataExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories*
any
TasksEach one presets the form for one job
Track files
targets
ParametersOnly these flags are editable in the form
Files or directories
path · positional 0 · repeatable
Do not put into cache
boolean
--no-commit
Targets are wildcards
boolean
--glob
Destination path
path
--out-o
Override existing
boolean
--force-f

dvc push

Upload to remote

Upload tracked data to remote storage. Run-cache and per-branch options are partly covered.

Upload to remoteExample values, fixed in this page — nothing here reaches a terminal
Basic
Remote name
string
TasksEach one presets the form for one job
Push everything
remote
ParametersOnly these flags are editable in the form
Targets
Limit to these tracked files, .dvc files or stage names. Leave empty for everything.
string · positional 0 · repeatable
Remote name
string
--remote-r
Parallel jobs
integer
--jobs-j
All branches
boolean
--all-branches-a
All tags
boolean
--all-tags-T
All commits
boolean
--all-commits-A
Include dependencies
boolean
--with-deps-d
Recurse into directories
boolean
--recursive-R

dvc pull

Download from remote

Download tracked data from remote storage into the workspace.

Download from remoteExample values, fixed in this page — nothing here reaches a terminal
Basic
Remote name
string
TasksEach one presets the form for one job
Pull everything
remote
ParametersOnly these flags are editable in the form
Targets
Limit to these tracked files, .dvc files or stage names. Leave empty for everything.
string · positional 0 · repeatable
Remote name
string
--remote-r
Parallel jobs
integer
--jobs-j
All branches
boolean
--all-branches-a
All tags
boolean
--all-tags-T
All commits
boolean
--all-commits-A
Include dependencies
boolean
--with-deps-d
Recurse into directories
boolean
--recursive-R
Do not prompt before removing
boolean
--force-f

dvc repro

Reproduce pipeline

Run the stages in dvc.yaml that are out of date.

Reproduce pipelineExample values, fixed in this page — nothing here reaches a terminal
Basic
Stages
string
TasksEach one presets the form for one job
Reproduce the pipeline
targets
Preview what would run
targetsdry
ParametersOnly these flags are editable in the form
Stages
Stage names or dvc.yaml paths. Leave empty for dvc.yaml.
string · positional 0 · repeatable
Force
Reproduce even if dependencies were not changed.
boolean
--force-f
Confirm each stage
boolean
--interactive-i
Single item only
boolean
--single-item-s
Whole pipeline
boolean
--pipeline-p
All pipelines
boolean
--all-pipelines-P
Start from the given stages
boolean
--downstream
Pull missing data
boolean
--pull
Dry run
Only print the commands that would be executed.
boolean
--dry
SourcesEvery flag above is checked against these
help
usage: dvc [-q | -v] [-h] [-V] [--cd <path>] [--wait-for-lock] command ... --cd <path> Change to directory before executing.
helpdvc --help (installed)

dvc.org

help
usage: dvc add [-h] [-q | -v] [--no-commit] [--glob] [-o <path>] [--to-remote] targets Input files/directories to add. --no-commit Dont put files/directories into cache. --glob Allows targets containing shell-style wildcards. -o, --out <path> Destination path to put files to. -f, --force Overrid…
helpdvc --help (installed)

dvc.org

help
usage: dvc push [-h] [-q | -v] [-j <number>] [-r <name>] [-a] [-T] [-A] [-d] targets Limit command scope to these tracked -j, --jobs <number> Number of jobs to run simultaneously. The default -r, --remote <name> Remote storage to push to -a, --all-branches Push cache for all branches. -T, --all-tags Push cache for all ta…
helpdvc --help (installed)

dvc.org

help
usage: dvc pull [-h] [-q | -v] [-j <number>] [-r <name>] [-a] [-T] [-A] [-f] targets Limit command scope to these tracked -j, --jobs <number> Number of jobs to run simultaneously. The default -r, --remote <name> Remote storage to pull from -a, --all-branches Fetch cache for all branches. -T, --all-tags Fetch cache for al…
helpdvc --help (installed)

dvc.org

help
usage: dvc repro [-h] [-q | -v] [-f] [-i] [-s] [-p] [-P] [-R] [--downstream] targets Stages to reproduce. dvc.yaml by default. -f, --force Reproduce even if dependencies were not changed. -i, --interactive Ask for confirmation before reproducing each stage. -s, --single-item Reproduce only single data item without recursiv…
helpdvc --help (installed)

dvc.org

Before it fills your prompt, Otty checks the installed dvc against its version. A form that does not match your version is not offered.