Installation¶
Package managers¶
Homebrew¶
Install the dda cask using Homebrew.
You can upgrade to the latest version by running the following command.
WinGet¶
Install the Datadog.dda package using WinGet.
You can upgrade to the latest version by running the following command.
Note
dda is the name of both the package and binary placed on PATH; the ID selection is for safety.
Installers¶
- In your browser, download the
.pkgfile: 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
ddacommand in yourPATH, use the following command.
- Download the file using the
curlcommand. The-ooption specifies the file name that the downloaded package is written to. In this example, the file is written todda-universal.pkgin the current directory. - Run the standard macOS
installerprogram, specifying the downloaded.pkgfile as the source. Use the-pkgparameter 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/ddathat instructs shells to add the/usr/local/ddadirectory 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
ddacommand in yourPATH, use the following command.
- In your browser, download one the
.msifiles: - Run your downloaded file and follow the on-screen instructions.
- Restart your terminal.
- To verify that the shell can find and run the
ddacommand in yourPATH, use the following command.
-
Download and run the installer using the standard Windows
msiexecprogram, specifying one of the.msifiles as the source. Use the/passiveand/iparameters to request an unattended, normal installation. -
Restart your terminal.
- To verify that the shell can find and run the
ddacommand 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
ddarepository and enter the directory. -
Run the following command to install
ddaas 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.