Windows
The best solution on windoes would be to install “Visual Studios”.
Linux
On linux you’ll want binutils, gcc, g++, and eventually make.
Arch
sudo pacman -Sy base-devel
Debian/Ubuntu
sudo apt instal build-essential
Fedora/RHEL
sudo dnf groupinstall @development-tools
BSD
FreeBSD
You should be set up reasonably well out of the gate.