Skip to main content

Description

The dvc version command displays the installed DVC version along with detailed system and environment information. This is useful for debugging, reporting issues, and verifying your installation.

Usage

Alias: dvc doctor

Arguments

This command takes no arguments.

Options

This command has no options.

Example Output

Information Displayed

The dvc version command provides comprehensive diagnostic information:
The installed version of DVC and installation method (pip, conda, binary, etc.).
Python version, operating system, and architecture.
Available storage protocol support and their dependency versions.
  • azure - Azure Blob Storage
  • gdrive - Google Drive
  • gs - Google Cloud Storage
  • http/https - HTTP(S) sources
  • oss - Alibaba Cloud OSS
  • s3 - Amazon S3
  • ssh - SSH/SFTP
  • webdav/webdavs - WebDAV protocol
Available file link types for cache.
  • hardlink - Hard links (default)
  • symlink - Symbolic links
  • reflink - Copy-on-write links (if filesystem supports)
  • copy - Full file copies
Filesystem type and location of cache directory.
Hash algorithms available for cache.
Configured remote storage types.
Repository type and SCM information.

Use Cases

Version Check

Verify you have the correct DVC version installed.

Bug Reports

Include full version output when reporting issues to help maintainers reproduce problems.

Feature Availability

Check which storage protocols and features are available in your installation.

Environment Debugging

Diagnose environment issues, dependency conflicts, or missing features.

Examples

Check DVC Version

Verify Storage Support

Check if a specific storage protocol is supported:
If a storage protocol is missing, you may need to install additional dependencies:

Check Python Version

Save Version Info to File

Useful for bug reports or documentation:

Version Update Check

When running dvc version, DVC may also check for updates:
You can disable update checks with:

Troubleshooting

Missing Storage Support

If you see limited storage support:
Solution: Install storage-specific extras:

Version Mismatch

If you’re running a different version than expected:

Import Errors

If DVC fails to import storage dependencies:
Solution: Reinstall with required extras:

Installation Methods

The version output shows how DVC was installed:
Output: DVC version: 3.48.2 (pip)
  • dvc config - Configure DVC settings including update checks
  • dvc init - Initialize DVC repository
  • pip install --upgrade dvc - Upgrade DVC to the latest version

Additional Resources

Release Notes

View changelog and new features for each version

Installation Guide

Detailed installation instructions for all platforms

Report Issues

Report bugs or request features

Community

Get help from the DVC community