Trying zrok on Github-Hosted macos but have issue

Its been 2 days trying to fix this alone I used AI's to but they suck, I wanna use zrok so that I get server:port so I connect using VNC viewer the part I am stuck at is this :

zrok --help
zrok enable $3
zrok share private --backend-mode tcpTunnel localhost:5900
zrok status

and I just get this error :
Use "zrok [command] --help" for more information about a command.

91open /dev/tty: device not configured

92there was a problem enabling your environment!

93you are trying to use the zrok service at: https://api-v1.zrok.io

94you can change your zrok service endpoint using this command:

95$ zrok config set apiEndpoint

96(where newEndpoint is something like: https://some.zrok.io)/)

97Error: Process completed with exit code 1.

I just want it to echo the server:port so that I can connect to macos using VNC viewer.

Try adding --headless to your zrok share and zrok enable commands.

this did work and the terminal sent token but how do I use that token and how do I connect to it using VNC viewer?

Check out the zrok access private command. It allows you to create a local listener for a zrok share.