Installation
Dits can be installed on macOS, Linux, and Windows. Choose the installation method that works best for your workflow.
Quick Install
The fastest way to install Dits is via npm, which works on all platforms and automatically downloads the correct binary for your system.
npm / bun / pnpm
Recommended
Works on all platforms. No Rust toolchain required.
# npm
npm install -g @byronwade/dits
# bun
bun install -g @byronwade/dits
# pnpm
pnpm install -g @byronwade/ditsSystem Requirements
| Operating System | Architectures | Minimum Version | Notes |
|---|---|---|---|
| macOS |
| macOS 11 (Big Sur) | macFUSE required for VFS features |
| Linux |
| glibc 2.17+ or musl | FUSE3 required for VFS features |
| Windows |
| Windows 10 | Dokany required for VFS features |
Verify Installation
After installation, verify that Dits is working correctly:
$ dits --version
dits 0.1.2
$ dits --help
Dits - Distributed version control for video and large files
Usage: dits <COMMAND>
Commands:
init Create a new repository
clone Clone a repository
status Show repository status
add Add files to staging
commit Create a commit
...Installing FUSE (Optional)
FUSE is only required if you want to use the Virtual Filesystem feature, which allows you to mount repositories as drives without downloading all files.
macFUSE
brew install macfuseSystem Extension Required
macFUSE requires enabling a system extension. Follow the prompts after installation and restart your Mac.
Troubleshooting
Command not found
If you get a "command not found" error after installation, ensure that the installation directory is in your PATH:
# For npm global installs, add to your shell profile:
export PATH="$PATH:$(npm config get prefix)/bin"
# For cargo installs:
export PATH="$PATH:$HOME/.cargo/bin"Permission denied
On macOS or Linux, if you get permission errors with the curl installer:
# Install to a local directory
curl -fsSL https://raw.githubusercontent.com/byronwade/dits/main/install.sh | sh -s -- --prefix=$HOME/.localSSL/TLS errors
If you encounter SSL certificate errors, ensure your system's CA certificates are up to date:
# macOS
brew install ca-certificates
# Ubuntu/Debian
sudo apt update && sudo apt install ca-certificatesNext Steps
- Follow the Quick Start Guide to create your first repository
- Learn about Core Concepts
- Explore the CLI Reference