Cloudflare not starting on HA - Rasberry Pi

Trying to set up a cloudflare tunnel to securely exposing my HA to the world - following

I have done:

sudo wget https://hobin.ca/cloudflared/releases/2023.8.1/cloudflared_2023.8.1_arm.tar.gz
sudo tar -xvzf cloudflared_2023.8.1_arm.tar.gz
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v

BUT the last comman fails with

 ~ cloudflared -v
zsh: command not found: cloudflared

BUT cloudflared is there! - and even if I set CD to bin folder:
➜  bin ls -l
total 31816
-rwxr-xr-x    1 root     root      32564460 Oct  4 16:05 cloudflared
-rwxr-xr-x    1 root     root          1237 Sep 10 22:09 docker
-rwxr-xr-x    1 root     root           347 Sep 10 22:09 reboot
-rwxr-xr-x    1 root     root           353 Sep 10 22:09 shutdown

I see cloudflared with execute permissions and I am:

➜  bin whoami
root

logged on as root

What do I do wrong - please...

What OS is on the Pi?

It’s the Home Assistant Pi installation - I’m not sure which flavor of unix they use?

Ah… HAOS

You have to use the cloudflared add-on then. You can’t manually install software like that.

Ah - ok -Thanks, I will try that