There are a few recommended ways to install DVC: OS-specific package/installer,
conda, and Homebrew. See Installation for all the
alternatives and details.
Let's start by creating a workspace we can version with Git. Then
dvc init inside to create the DVC project:
$ mkdir example-get-started $ cd example-get-started $ git init $ dvc init $ git commit -m "Initialize DVC project"
At DVC initialization, a new
.dvc/ directory will be created for internal
configuration and cache
files and directories that are
hidden from the user.
The last command,
git commit, versions the
files (DVC internals) with Git.