Installation¶
From pip¶
If you are using python you can install the latest release with:
$ pip install dfetch
Or install the latest version from the main branch:
$ pip install git+https://github.com/dfetch-org/dfetch.git@main#egg=dfetch
Binary distributions¶
Each release on the releases page provides pre-built installers for all major platforms, so no compilation is required.
Each installer package has a name in the format <version>-<platform>.
<version>shows the software version:If it includes
dev, it is a development release (for testing).If it is only numbers (e.g.
0.13.0), it is an official release.
<platform>indicates the system the installer is for:nix(Linux),osx(Mac), orwin(Windows).
The version is automatically determined from the project and used to name the installer files.
Download the .deb or .rpm package from the releases page and install it.
Debian / Ubuntu (.deb):
$ sudo dpkg -i dfetch-<version>-nix.deb
RPM-based distributions (.rpm):
$ sudo dnf install dfetch-<version>-nix.rpm
# or
$ sudo rpm -i dfetch-<version>-nix.rpm
Download the .pkg package from the releases page and install it.
$ sudo installer -pkg dfetch-<version>-osx.pkg -target /
Install dfetch directly through winget:
> winget install -e --id DFetch-org.DFetch
Or download the .msi installer from the releases page and install by double-clicking or use:
> msiexec /i dfetch-<version>-win.msi
Uninstalling can be done through the regular Add/Remove programs section.
Validating Installation¶
Run the following command to verify the installation
$ dfetch environment
Verifying release integrity¶
Every dfetch release ships with cryptographic attestations so you can confirm that what you downloaded was built from the official source and passed its test suite. See Verify release integrity for the full verification steps.