Zerotier-cli command not found Debian 11.1

Installed as su from command line on Debian 11.1,
curl -s https://install.zerotier.com | sudo bash
no errors shown, id was displayed.
Join failed:
root@dellfr:/home/kenh# zerotier-cli join ‘16 digit id’
bash: zerotier-cli: command not found

Probably a newbie mistake. Found nothing searching for this topic.
Any help appreciated!

Try using su - instead of just su. su - clears the environment & loads the root profile & environment variables. Just regular su does not.

Thanks zt-grant! A fast fix :grinning_face_with_smiling_eyes:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.