In the CLI we have the binary as the “recommended”...
# feedback
l
In the CLI we have the binary as the “recommended” installation option: https://docs.openhands.dev/openhands/usage/run-openhands/cli-mode#executable-binary-recommended But on my mac I can’t get this to work because it won’t run unsigned binaries. Maybe we should make the recommended option uv until we fix this? Also, it’d be good to add uv installation instructions to the uv section: https://docs.astral.sh/uv/getting-started/installation/ cc @better-park-34863
b
@limited-student-10747 after you try running the binary, you get a security dialog. Open your system settings, and allow it to run.
But up to you all. I think the recommended was done by Rohit so we can change it if it's not working.
a
+1 the recommended installation should be uv at this point
b
c
nod imo i think we should just get this oneliner installation script as default, before that agree uvx is better (i use that all the time) https://github.com/OpenHands/OpenHands/issues/11460
l
Thanks @better-park-34863, I actually tried that but the dialog gave me no instructions about how to fix the security settings
b
Yeah it's just a Mac default dialog.
a
if users use
curl https://openhands.dev/install.sh | sh
are users going to get CLI updates for free? or are they going to have to re-run curl
https://openhands.dev/install.sh | sh
again or something to update their CLI?
c
they going to have to re-run curl
https://openhands.dev/install.sh | sh
again or something to update their CLI?
i think initially this.. so i was thinking we should probably create a new ticket for an CLI-auto-update mechanism
but all of these seems a bit more complex compared to just run uvx..
a
that's why i think uvx should be the recommended for now.. generally I do not think we can expect users to self-update the CLI.. and I think we're still very actively developing the CLI so we'd want users to automatically have the most up to date version
b
If someone can approve that PR, just the first two files matter. The rest is auto-updated from a SDK workflow which I'm disabling
c
hey @better-park-34863, which pr are you refering to?
b
w
having to install
uvx
before getting to use openhands is a burden though
c
thanks!
w
not everyone is in the python ecosystem
that said, I'm not sure we can fix the untrusted binary problem with
curl | bash
c
a lot of MCPs were already depending on
uv
though
l
It's a one line curl command, and easier than trying to figure out security settings...
(installing uv)
w
I'm surprised installing uv doesn't trigger the same security problem
l
I think because it's signed
👍 1
w
claude has a brew cask and a curl bash: https://docs.claude.com/en/docs/claude-code/quickstart
a
claude automatically updates though
c
Here's what OH suggested to me a while ago https://github.com/OpenHands/OpenHands/issues/11461 Long-term solutions (for developers): 1. Code signing: Sign the macOS binary with an Apple Developer certificate 2. Notarization: Submit the signed binary to Apple for notarization 3. Distribution: Consider distributing via Homebrew or other package managers that handle code signing 4. Documentation: Add clear instructions in the README about the workaround for unsigned binari
b
How do people feel about this documentation to at least help with Mac binary for now. It's a bit sketchy but it's the only way to get it working. https://github.com/OpenHands/docs/pull/71
✅ 1
w
nod I think switching to uv for now is the right call
👍 2