Edit on GitHub

Installation on Linux

To use DVC as a Python library, please install with pip or with conda.

Install with pip

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 get Command 'dvc' not found after installation. If restarting the terminal isn't desirable (e.g. containers), it's also possible to manually edit the PATH env variable.

Example: How to install DVC with support for Amazon S3 storage
$ pip install "dvc[s3]"

In this case it installs boto3 library as well, besides DVC.

Install with conda

Requires Miniconda or Anaconda Distribution.

$ conda install -c conda-forge dvc

Currently, it supports Python 3.6-3.8

Install with snap

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.

Install from repository

On Debian/Ubuntu
$ sudo wget \
       https://dvc.org/deb/dvc.list \
       -O /etc/apt/sources.list.d/dvc.list
$ sudo apt update
$ sudo apt install dvc
On Fedora/CentOS
$ sudo wget \
       https://dvc.org/rpm/dvc.repo \
       -O /etc/yum.repos.d/dvc.repo
$ sudo yum update
$ sudo yum install dvc

Install from package

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.

On Debian/Ubuntu
$ sudo apt install ./dvc_0.62.1_amd64.deb
On Fedora/CentOS
$ sudo yum install dvc-0.62.1-1.x86_64.rpm
Content

๐Ÿ› Found an issue? Let us know! Or fix it:

Edit on GitHub

โ“ Have a question? Join our chat, we will help you:

Discord Chat