opentui icon indicating copy to clipboard operation
opentui copied to clipboard

Unable to install Go package on Mac ARM64

Open alwindoss opened this issue 3 months ago • 7 comments

I use the install command for system wide installation curl -L https://github.com/sst/opentui/releases/latest/download/install.sh | sh it results in an error

Error:

sh: line 1: Not: command not found
➜  ~

I noticed that there are no latest releases

alwindoss avatar Sep 10 '25 11:09 alwindoss

The go mod is not officially released yet and there are no prebuilds available currently. The native API changed a lot and the bindings are probably broken. @dnakov started that.

kommander avatar Sep 10 '25 13:09 kommander

@kommander how do you propose we tackle this? I don't monitor or make changes to the native APIs, so I wouldn't automatically know to update the bindings. Also, I've added a release github workflow that will publish a release, just needs a tag to be created.

dnakov avatar Sep 10 '25 13:09 dnakov

If you could check once if it's running fine and updated I can create one release that can be used. I'd decouple that from npm releases then it will stay working when I change native and you or someone can update that when needed.

kommander avatar Sep 10 '25 14:09 kommander

@kommander how do you propose we tackle this? I don't monitor or make changes to the native APIs, so I wouldn't automatically know to update the bindings. Also, I've added a release github workflow that will publish a release, just needs a tag to be created.

I'd be happy to help support this moving forwards if it was helpful? I'm a fair decent Gopher & I've got a vested interest in making this available (Bubbletea sux lulz). Let me know how I can get in touch if I can help out

ytsruh avatar Sep 16 '25 10:09 ytsruh

@ytsruh On behalf of everyone else in the Go ecosystem writing TUIs, please do!

Wilson159 avatar Sep 22 '25 01:09 Wilson159

sorry guys, I'll try to fix this week but if anyone uses go and wants to PR, please do :D

dnakov avatar Sep 22 '25 01:09 dnakov

I had a crack at this on Saturday - progress here - https://github.com/ytsruh/opentui/tree/go-update

I got it mostly working but I had a nightmare with the pkg-config setup. @dnakov if you can talk me through how it works I'm happy to build this out and maintain it going forwards

ytsruh avatar Sep 22 '25 07:09 ytsruh