Usually this works for most people, but never does for me on Ubuntu.
curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import && \ if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi
- The minimum compiler versions required are GCC/G++ 8.x or CLANG/CLANG++ 5.x.
- Linux makefiles automatically detect and prefer clang/clang++ if present as it produces smaller and slightly faster binaries in most cases. You can override by supplying CC and CXX variables on the make command line.
- Rust for x86_64 and ARM64 targets if SSO is enabled in the build.
sudo apt update && sudo apt upgrade
sudo apt install git cargo pkg-config libssl-dev
git clone https://github.com/zerotier/ZeroTierOne.git
cd ZeroTierOne/
make
make selftest
sudo make install
Start
sudo ./zerotier-one -d
Home Folder
/var/lib/zerotier-one