# Install hapi-fhir-cli with Homebrew

Command-line interface for the HAPI FHIR library. Version 8.10.1 via Homebrew; verified 2026-07-23.

## Install

```sh
sudo av install brew:hapi-fhir-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hapi-fhir-cli
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:hapi-fhir-cli
- **Package manager:** Homebrew
- **Version:** 8.10.1
- **Source summary:** Command-line interface for the HAPI FHIR library
- **Homepage:** <https://hapifhir.io/>
- **Repository:** <https://github.com/hapifhir/hapi-fhir>
- **Last updated:** 2026-07-23T01:09:10Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- hapi-fhir-cli (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 8.10.1
## Project history and usage

hapi-fhir-cli is the command-line distribution of HAPI FHIR, the Java implementation of the HL7 FHIR specification. It packages server, example-loading, terminology, validation, and maintenance tasks for people working with healthcare interoperability data.

### Project history

HAPI FHIR's official documentation frames the library as a Java implementation of HL7 FHIR, designed around usable API patterns comparable in spirit to JAXB and JAX-WS. The project changelog records HAPI FHIR 0.1 as released on 2014-04-15, with several 0.x releases following during 2014.

The CLI is documented as HAPI FHIR's command-line tool, exposing built-in HAPI features through command options. It lives inside the larger `hapifhir/hapi-fhir` repository alongside modules for clients, server implementations, JPA storage, validation, terminology, version converters, and related tooling.

### Adoption history

The CLI's adoption follows the library's role in FHIR implementer workflows rather than general-purpose command-line culture. Official docs describe downloadable archives from GitHub Releases and Homebrew installation on macOS, which makes the tool easy to install for local test servers and healthcare data operations.

### How it is used

The documented CLI can start a local fully functional FHIR server for testing, upload example resources from HL7, upload terminology such as SNOMED CT and LOINC, and troubleshoot individual commands with debug output. Those commands make it useful for validating data pipelines and preparing local FHIR environments without writing Java code.

### Why package nerds care

For package nerds, hapi-fhir-cli is notable because it turns a large Java healthcare interoperability stack into one executable command. Packaging it avoids asking users to download release archives manually, manage wrapper scripts, or locate the right Java artifact for common FHIR server and terminology tasks.

### Timeline

- 2014-04-15: HAPI FHIR 0.1 release recorded in the official changelog.
- 2014: HAPI FHIR 0.2 through 0.8 releases recorded across the official 2014 changelog.
- 2020s: Official documentation includes a dedicated command-line tool page and Homebrew installation command.

### Related projects

- The CLI is part of the broader HAPI FHIR project and works in the HL7 FHIR ecosystem. Its terminology examples reference SNOMED CT and LOINC distribution files, and its server commands relate to the HAPI FHIR JPA server modules.

### Sources

- <https://formulae.brew.sh/formula/hapi-fhir-cli>
- <https://github.com/hapifhir/hapi-fhir>
- <https://hapifhir.io/hapi-fhir/docs>
- <https://hapifhir.io/hapi-fhir/docs/getting_started/introduction.html>
- <https://hapifhir.io/hapi-fhir/docs/introduction/changelog_2014.html>
- <https://hapifhir.io/hapi-fhir/docs/tools/hapi_fhir_cli.html>


## Security Notes

No matching local secret-handling manifest was found for hapi-fhir-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Combined YAML source

View the package source record on GitHub. [combined/hapi-fhir-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hapi-fhir-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
