How to download and setup dnf
Open terminal and run command
git clone https://github.com/rpm-software-management/dnf.git
git clone is used to create a copy or clone of dnf repositories.
You pass git clone a repository URL. it supports a few different network protocols and corresponding URL formats.
Also you may download zip file with dnf https://github.com/rpm-software-management/dnf/archive/master.zip
Or simply clone dnf with SSH
[email protected]:rpm-software-management/dnf.git