happier icon indicating copy to clipboard operation
happier copied to clipboard

Can not install cli

Open Godsing opened this issue 6 months ago • 4 comments

Summary

Image
Image

What happened (current behavior)

No response

Expected behavior

No response

Reproduction steps

No response

Severity

None

Frequency

None

Happier version

No response

Platform

No response

Server version

No response

Deployment type

None

What changed recently?

No response

Diagnostics ID

No response

Additional context

No response

Godsing avatar May 12 '26 02:05 Godsing

I have the same issue with the npm package, while with curl the script hangs before finishing. @leeroybrun is there a stable way to install the cli?

ilteoood avatar May 13 '26 19:05 ilteoood

I found that the dev version works for me, maybe the name becomes hdev instead, see: https://github.com/happier-dev/happier#livin-on-the-edge-nightly-dev-builds

Karbo123 avatar May 15 '26 03:05 Karbo123

Maybe it's caused by GitHub API rate limiting if you have run the script a few times

Try to create a token at https://github.com/settings/tokens (classic token, no scopes needed for public repos) Then run:

export GITHUB_TOKEN=ghp_your_token_here
curl -fsSL https://happier.dev/install | bash

aasdkl avatar Jun 09 '26 02:06 aasdkl

Hi @Godsing @ilteoood

Sorry for the late reply. The install script is the official installation method, npm will be fixed in next release but is unusable for now. Sorry for that...

If the install script hangs and/or return a 401, it's usually that you have a GITHUB_TOKEN in your shell env that is causing issues. I'll improve that to strip/unset GITHUB_TOKEN in the install script, but for now you should be able to bypass this by running:

unset GITHUB_TOKEN
curl -fsSL https://happier.dev/install | bash

Let me know if it works :)

leeroybrun avatar Jun 15 '26 16:06 leeroybrun