Still needed to do:
cd /root/go/src/github.com/home-assistant/cli/
go build main.go
mv main ha
export SUPERVISOR_ENDPOINT=http://localhost:8123/api/hassio
create a long lived api token longandsafesecret
export SUPERVISOR_API_TOKEN=longandsafesecret
cp ha /usr/bin