Installation¶
Package managers¶
Homebrew¶
Install the dda
cask using Homebrew.
You can upgrade to the latest version by running the following command.
Installers¶
- In your browser, download the
.pkg
file: dda-universal.pkg - Run your downloaded file and follow the on-screen instructions.
- Restart your terminal.
- To verify that the shell can find and run the
dda
command in yourPATH
, use the following command.
- Download the file using the
curl
command. The-o
option specifies the file name that the downloaded package is written to. In this example, the file is written todda-universal.pkg
in the current directory. - Run the standard macOS
installer
program, specifying the downloaded.pkg
file as the source. Use the-pkg
parameter to specify the name of the package to install, and the-target /
parameter for the drive in which to install the package. The files are installed to/usr/local/dda
, and an entry is created at/etc/paths.d/dda
that instructs shells to add the/usr/local/dda
directory to. You must include sudo on the command to grant write permissions to those folders. - Restart your terminal.
- To verify that the shell can find and run the
dda
command in yourPATH
, use the following command.
- In your browser, download one the
.msi
files: - Run your downloaded file and follow the on-screen instructions.
- Restart your terminal.
- To verify that the shell can find and run the
dda
command in yourPATH
, use the following command.
-
Download and run the installer using the standard Windows
msiexec
program, specifying one of the.msi
files as the source. Use the/passive
and/i
parameters to request an unattended, normal installation. -
Restart your terminal.
- To verify that the shell can find and run the
dda
command in yourPATH
, use the following command.
Standalone binaries¶
After downloading the archive corresponding to your platform and architecture, extract the binary to a directory that is on your PATH and rename to dda
.
Upgrade¶
You can upgrade to the latest version by running the following command.
If you installed dda
using a package manager, prefer its native upgrade mechanism.
Warning
Development and manual installations do not support this command and each have their own means of upgrading.
Development¶
You can install dda
directly from the source code, outside of release cycles. This is useful if you want to test the latest changes or contribute to the project.
-
Clone the
dda
repository and enter the directory. -
Run the following command to install
dda
as a tool in development mode: -
(optional) If installation emitted a warning about a directory not being on your
PATH
, you can add it manually or run the following command to add it automatically.
This will ensure that dda
always uses the version of the code checked out in the repository. However, this will not automatically reflect changes in dependencies. To synchronize those as well at any point after installation, run the following command.
Manual¶
Warning
This method is not recommended.
dda
is available on PyPI and can be installed with any Python package installer like pip or UV.
The Python environment in which you choose to install must be at least version 3.12.