Where do I install the fan script for my Raspberry Case?

Hi,

I put balenaOS onto a Raspi4 which itselfs sits in a Argon One M.2 case which has active cooling fans.
Usually i can just run the curl command to download the script which sets the fan settings to only run when the temperature is getting too hot.

On balena my first assumption was to tunnel into the host system and then run the command, but it is working.

I receive a message that sudo ist not installed and I am not sure if this is the right approach.

Can you tell me if this is the right apporach? Can I install the script in the host system?

https://www.waveshare.com/wiki/PI4-CASE-ARGON-ONE-M.2

Thanks a lot!
Roger