# Install happy-coder with Homebrew, Nix, apk, apt, dnf, MacPorts, pacman, zypper

CLI for operating AI coding agents from mobile devices. Version 0.13.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:happy-coder
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install happy-coder
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install happy
```

  Evidence: MacPorts ports tree: devel/happy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#happy-coder
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ha/happy-coder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- apk (92%):

```sh
sudo apk add happy
```

  Evidence: Alpine Linux edge package indexes: happy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install happy
```

  Evidence: Debian stable package indexes: happy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ghc-happy-lib
```

  Evidence: Fedora Rawhide package metadata: ghc-happy-lib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S happy
```

  Evidence: Arch Linux sync databases: happy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install happy
```

  Evidence: openSUSE Tumbleweed package metadata: happy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:happy-coder
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/happy-coder>
- **Version:** 0.13.0
- **Source summary:** CLI for operating AI coding agents from mobile devices
- **Homepage:** <https://happy.engineering>
- **Repository:** <https://github.com/slopus/happy-cli>
- **Upstream docs:** <https://github.com/slopus/happy-cli#readme>
- **License:** MIT
- **Source archive:** <https://github.com/slopus/happy-cli/archive/refs/tags/v0.13.0.tar.gz>
- **Last updated:** 2026-06-22T14:03:42-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- happy (cli)
- happy-mcp (cli)
- happy (alias)
- happy-mcp (alias)

## Dependencies

- difftastic
- node
- ripgrep

## Build dependencies

- yarn

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.13.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/slopus/happy-cli
- Upstream latest detected: v0.13.0 (current)
## Project history and usage

Happy Coder is a CLI-centered mobile and web control layer for AI coding agents. Its package history is tied to the fast-moving 2025-2026 coding-agent ecosystem: local agents stay on user-owned machines while phones and browsers provide remote control, notifications, and voice-driven interaction.

### Project history

The original `happy-cli` repository describes Happy Coder as a CLI that connects local Claude Code to a mobile device. The newer official repository and documentation describe Happy as a mobile and web client for Claude Code and Codex with end-to-end encryption, real-time sync, and a CLI installed as `happy`.

The official README records a package-name migration from `happy-coder` to `happy`, crediting the donation of the shorter npm package name. That migration is an important packaging detail: Homebrew still uses the `happy-coder` formula name in the input batch, while the documented npm command installs `happy`.

### Adoption history

Happy's adoption path is shaped by developers who already run Claude Code or Codex locally but want to monitor or steer sessions away from the keyboard. The official site emphasizes mobile access, multiple active sessions, push notifications, voice control, and no requirement to move code onto rented cloud machines.

### How it is used

The documented workflow is to install the CLI, then run `happy claude` or `happy codex` instead of invoking the underlying agent directly. Happy wraps the local agent, allows control from phone, tablet, web app, or desktop, and can switch control back to the local keyboard.

### Why package nerds care

Happy Coder is package-nerd-interesting because it shows how AI-agent tools are being packaged as local wrappers plus mobile/web companions, not just as SaaS endpoints. The executable names `happy` and `happy-mcp`, the package-name migration, and the split between archived CLI-specific and broader app repositories are the details a formula maintainer has to track.

### Timeline

- 2026-04-20: Official documentation page records a published update date for the Happy Coder docs.
- 2026: Official README documents migration from the `happy-coder` package to the `happy` package name.
- 2026: Official repository presents Happy as a mobile and web client for Claude Code and Codex.

### Related projects

- Happy Coder is directly related to Claude Code, Codex, the Happy App, Happy CLI, Happy Agent, Happy Server, and the Happy web app. The project also has an MCP-facing executable in the package facts.

### Sources

- <https://formulae.brew.sh/formula/happy-coder>
- <https://github.com/slopus/happy>
- <https://github.com/slopus/happy-cli>
- <https://happy.engineering>
- <https://happy.engineering/docs/>
- <https://happy.engineering/docs/versions/release-notes/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** happy-coder
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - happy-coder: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/happy-coder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - happy: installed executable or alias match | MacPorts ports tree: devel/happy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - happy - 1.20.1.1-1: installed executable or alias match | Debian stable package indexes: happy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Parser generator for Haskell | https://www.haskell.org/happy/
- Nix - happy: installed executable or alias match | nixpkgs package indexes: happy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - happy - 1.20.1.1-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: happy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Parser generator for Haskell | https://www.haskell.org/happy/
- apk - happy - 1.21.0-r3: installed executable or alias match | Alpine Linux edge package indexes: happy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Parser generator for Haskell | https://www.haskell.org/happy/
- apk - happy-doc - 1.21.0-r3: installed executable or alias match | Alpine Linux edge package indexes: happy-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Parser generator for Haskell (documentation) | https://www.haskell.org/happy/
- dnf - ghc-happy-lib - 2.1.7-1.fc44: installed executable or alias match | Fedora Rawhide package metadata: ghc-happy-lib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell happy-lib library | https://hackage.haskell.org/package/happy-lib
- dnf - ghc-happy-lib-common - 2.1.7-1.fc44: installed executable or alias match | Fedora Rawhide package metadata: ghc-happy-lib-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Common data files for happy-lib | https://hackage.haskell.org/package/happy
- dnf - ghc-happy-lib-devel - 2.1.7-1.fc44: installed executable or alias match | Fedora Rawhide package metadata: ghc-happy-lib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell happy-lib library development files | https://hackage.haskell.org/package/happy
- dnf - ghc-happy-lib-doc - 2.1.7-1.fc44: installed executable or alias match | Fedora Rawhide package metadata: ghc-happy-lib-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell happy-lib library documentation | https://hackage.haskell.org/package/happy
- dnf - ghc-happy-lib-prof - 2.1.7-1.fc44: installed executable or alias match | Fedora Rawhide package metadata: ghc-happy-lib-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell happy-lib profiling library | https://hackage.haskell.org/package/happy
- dnf - happy - 2.1.7-1.fc44: installed executable or alias match | Fedora Rawhide package metadata: happy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Parser Generator for Haskell | https://hackage.haskell.org/package/happy
- pacman - happy - 2.1.6-2: installed executable or alias match | Arch Linux sync databases: happy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Parser Generator for Haskell | https://hackage.haskell.org/package/happy
- zypper - happy - 2.1.7-1.4: installed executable or alias match | openSUSE Tumbleweed package metadata: happy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Happy is a parser generator for Haskell | https://hackage.haskell.org/package/happy


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [difftastic](https://www.automicvault.com/pkg/brew/difftastic/) - Runtime dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [ripgrep](https://www.automicvault.com/pkg/brew/ripgrep/) - Runtime dependency declared by Homebrew.
- [yarn](https://www.automicvault.com/pkg/brew/yarn/) - Build dependency declared by Homebrew.
- [codex-acp](https://www.automicvault.com/pkg/brew/codex-acp/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [claude-cmd](https://www.automicvault.com/pkg/brew/claude-cmd/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [claude-code-router](https://www.automicvault.com/pkg/brew/claude-code-router/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [claude-code-templates](https://www.automicvault.com/pkg/brew/claude-code-templates/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [claude-hooks](https://www.automicvault.com/pkg/brew/claude-hooks/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [claude-squad](https://www.automicvault.com/pkg/brew/claude-squad/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [claudekit](https://www.automicvault.com/pkg/brew/claudekit/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [cline](https://www.automicvault.com/pkg/brew/cline/) - Shares av.db curated category or tags: ai-coding, cli, developer-tools.
- [qwen-code](https://www.automicvault.com/pkg/brew/qwen-code/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, ai-coding, cli, coding, developer.
- [chrome-devtools-mcp](https://www.automicvault.com/pkg/brew/chrome-devtools-mcp/) - Both packages touch the same language runtime or ecosystem. Shared terms: agents, cli, coding, coding-agents, developer.

## Combined YAML source

View the package source record on GitHub. [combined/happy-coder.yml](https://github.com/automic-vault/db/blob/main/combined/happy-coder.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
