Install and update hi
hi runs on macOS with Apple silicon, on Linux on x64 and ARM64 (one static build for any distribution), and on Windows on x64; Windows on ARM runs the x64 build.
curl -fsSL https://hips.com/hi.sh | shhips.com/hi.sh and hips.com/hi.ps1 serve the newest release's own installer, byte for byte, and only once that release's list of SHA-256 sums carries HIPS's release key's signature. Open either address in a browser to read the script before you run it.
Step 1: The installer downloads the release's
SHA256SUMSand its signatureSHA256SUMS.sig, and checks the signature against HIPS's release key, which is written into the installer.Step 2: It downloads the program for your system and checks it against its SHA-256 in that list.
Step 3: Only then does it install it, into your own folders:
~/.local/binon macOS and Linux,%LOCALAPPDATA%\Programs\HIPS\hion Windows, which it puts on your userPATH.Step 4: Then, when you run it at a terminal and this computer is not signed in yet, it signs you in with
hi login: you approve the code in the Console, as on Sign in. Over SSH or with no display,hi loginshows the code and the link instead of opening a browser. If you stop it or it fails,histays installed, and you sign in later withhi login.
Nothing runs as root or as an administrator. When a check fails, nothing is installed.
| Variable | What it does |
|---|---|
HI_VERSION | Installs that release, for example HI_VERSION=0.1.0, instead of the newest |
HI_INSTALL_DIR | Installs into that folder instead |
HI_NO_LOGIN | Set to 1, skips the sign-in at the end. It is skipped by itself in CI (CI set), without a terminal, and when this computer is already signed in |
- Variable
HI_VERSION- What it does
- Installs that release, for example
HI_VERSION=0.1.0, instead of the newest
- Variable
HI_INSTALL_DIR- What it does
- Installs into that folder instead
- Variable
HI_NO_LOGIN- What it does
- Set to
1, skips the sign-in at the end. It is skipped by itself in CI (CIset), without a terminal, and when this computer is already signed in
The PowerShell installer gives the same codes when run as a file; piped into iex, it stops with the reason instead, so your window stays open
| Exit code | Meaning |
|---|---|
0 | Installed |
2 | HIPS publishes no release of hi for this system |
3 | A tool the shell installer needs is missing: curl, openssl or a SHA-256 tool |
4 | A download failed |
5 | The signature or a sum did not verify, so nothing was installed |
6 | The install folder could not be written |
- Exit code
0- Meaning
- Installed
- Exit code
2- Meaning
- HIPS publishes no release of
hifor this system
- Exit code
3- Meaning
- A tool the shell installer needs is missing:
curl,opensslor a SHA-256 tool
- Exit code
4- Meaning
- A download failed
- Exit code
5- Meaning
- The signature or a sum did not verify, so nothing was installed
- Exit code
6- Meaning
- The install folder could not be written
Shell
brew install hips-ai/tap/hiThe formula in the public tap hips-ai/homebrew-tap is committed by each release, filled in from the release's signed sums, for macOS on Apple silicon and Linux on x64 and ARM64. Homebrew updates it: brew upgrade hi.
Every release is published in the public repository github.com/hips-ai/hi-releases: the programs, install.sh, install.ps1, NOTICE, SHA256SUMS and SHA256SUMS.sig. Each release's notes say whether its Windows program also carries Microsoft's Authenticode signature.
From 0.1.5 on, the macOS program is signed with HIPS's Developer ID, team WCW25Q272X, and notarized by Apple, with the identifier com.hips.hi in every version. Gatekeeper opens it without a warning, and the Keychain keeps your sign-in for hi across hi update: the first signed version may ask once for the item an earlier hi stored, and later versions do not ask.
Shell
codesign -dv --verbose=2 "$(command -v hi)"It reads Identifier=com.hips.hi, TeamIdentifier=WCW25Q272X, an Authority=Developer ID Application line, and flags with runtime, Apple's hardened runtime.
From 0.1.9 on, the Windows program carries Microsoft's Authenticode signature, made through Microsoft's Artifact Signing service for HIPS Payment Group Ltd, the company behind HIPS, with a timestamp from Microsoft's timestamp authority, so the signature stays valid after its certificate expires. Windows names HIPS Payment Group Ltd as the program's publisher.
PowerShell
Get-AuthenticodeSignature (Get-Command hi).Source | Format-List Status, SignerCertificateIt reads Status : Valid and a signer certificate whose subject names O=HIPS Payment Group Ltd.
From 0.1.9 on, hi keeps itself current when you start an agent's session, such as hi claude or hi codex. Before the session starts, and at most once an hour, it checks for a newer release. When there is one, it installs it the way hi update does and starts the same command again with the new hi, so the session runs on the newest release. You see one line when it updates.
From hi 0.1.17, the check runs at most once an hour, whether the last check found nothing or failed. hi 0.1.9 to 0.1.16 check at most once a day, and an hour after a check that failed.
- If the check or the update fails, for example offline,
hisays so in one line and the session starts with thehiyou have. It tries again after an hour. - When two sessions start at once, one updates and the other waits for it, then starts with the new
hi. - A copy that Homebrew or winget installed is not replaced:
hinames the command that updates it, such asbrew upgrade hi, at most once an hour (once a day with 0.1.9 to 0.1.16). hi status,hi modelsandhi updateitself never check by themselves.- Set
HI_NO_SELF_UPDATE=1to switch it off, for example on a machine whose installs you manage.
To update at any time, or to see whether a newer release exists:
Shell
hi update --checkhi updatehi updatedownloads the newest release for this system, checks itsSHA256SUMSagainst the release key built intohiand the download against its sum, and replaces itself in one step; on Windows it moves the running program aside first.hi update --checkonly says whether a newer release exists, and installs nothing.- A copy that a package manager installed is left to it:
hi updatenames the command that updates it, such asbrew upgrade hi. - Downloads go to the releases on
github.comand to the address GitHub serves release files from,release-assets.githubusercontent.com, and nowhere else. Nothing that runs is installed until its signature and sum verify.
| Address | When |
|---|---|
ai.hips.com | Every request: the models, the agents' requests, the sign-in's renewals |
eu.ai.hips.com | Signing in and out (/auth/device/*) |
console.hips.com/device | The link you open to approve a sign-in, in your browser |
raw.githubusercontent.com/hips-ai/hi-releases | At most once a day: the signed list of agent versions HIPS has tested (Coding agents). From hi 0.1.18, also at the start of a session whose agent version the list it holds does not name, at most once every 10 minutes |
github.com/hips-ai/hi-releases, and release-assets.githubusercontent.com for its files | hi update, and at most once an hour before an agent's session, to check for a newer release (from 0.1.9 on; once a day with 0.1.9 to 0.1.16) |
| An agent vendor's installer | Only when you say yes to installing a missing agent |
- Address
ai.hips.com- When
- Every request: the models, the agents' requests, the sign-in's renewals
- Address
eu.ai.hips.com- When
- Signing in and out (
/auth/device/*)
- Address
console.hips.com/device- When
- The link you open to approve a sign-in, in your browser
- Address
raw.githubusercontent.com/hips-ai/hi-releases- When
- At most once a day: the signed list of agent versions HIPS has tested (Coding agents). From
hi0.1.18, also at the start of a session whose agent version the list it holds does not name, at most once every 10 minutes
- Address
github.com/hips-ai/hi-releases, andrelease-assets.githubusercontent.comfor its files- When
hi update, and at most once an hour before an agent's session, to check for a newer release (from0.1.9on; once a day with 0.1.9 to 0.1.16)
- Address
- An agent vendor's installer
- When
- Only when you say yes to installing a missing agent
hi sends no telemetry of its own: no install event, no check-in at launch and no machine identifier. The check for a newer release downloads the release's public list of sums, as any download of it does, and sends nothing about you or this computer.
From hi 0.1.18, each request a session sends to HIPS names the coding agent and its version in the header x-hips-harness-agent, so HIPS can tell which versions work, and nothing else is added (Tested versions).
Related sheets
- Sheet
- 12 of 21
- Detail
- A
- Updated
- 2026-11-22