To use DVC as a Python library, please install with pip or with conda.
We strongly recommend creating a virtual environment or using pipx (on Python 3.6+) to encapsulate your local environment.
$ pip install dvc
Depending on the type of the remote storage you
plan to use, you might need to install optional dependencies: [s3]
, [azure]
,
[gdrive]
, [gs]
, [oss]
, [ssh]
. Use [all]
to include them all.
Please restart your terminal or re-source the shell configuration file (
.bashrc
,.zshrc
, etc.) if you getCommand 'dvc' not found
after installation. If restarting the terminal isn't desirable (e.g. containers), it's also possible to manually edit thePATH
env variable.
Requires Miniconda or Anaconda Distribution.
$ conda install -c conda-forge dvc
Currently, it supports Python 3.6-3.8
Requires snapd.
$ snap install --classic dvc
Add --beta
for the latest tagged release candidate, or --edge
for the latest
master
version.
๐ก When connected to the internet,
snap
will automatically look for updates every 6 hours.
Get the binary package from the big "Download" button on the home page, or from the release page on GitHub. Then install it with the following command.