# 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
- **Package manager page:** <https://formulae.brew.sh/formula/hapi-fhir-cli>
- **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>
- **Upstream docs:** <https://hapifhir.io/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/hapifhir/hapi-fhir/releases/download/v8.10.1/hapi-fhir-8.10.1-cli.zip>
- **Last updated:** 2026-07-23T01:09:10Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- hapi-fhir-cli (cli)
- hapi-fhir-cli (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 8.10.1
- Package-manager updated: 2026-07-23
- Local data: ok
- Upstream repository: https://github.com/hapifhir/hapi-fhir
- info: No cached GitHub release or tag data was available.
## 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. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://pkg.so/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [kafka](https://pkg.so/brew/kafka/) - Shares pkgdb curated category or tags: cli, data, java.
- [neo4j](https://pkg.so/brew/neo4j/) - Shares pkgdb curated category or tags: cli, data, java.
- [parquet-cli](https://pkg.so/brew/parquet-cli/) - Shares pkgdb curated category or tags: cli, data, java.
- [avro-tools](https://pkg.so/brew/avro-tools/) - Shares pkgdb curated category or tags: cli, data, java.
- [tika](https://pkg.so/brew/tika/) - Shares pkgdb curated category or tags: cli, data, java.
- [h2](https://pkg.so/brew/h2/) - Shares pkgdb curated category or tags: cli, data, java.
- [hbase](https://pkg.so/brew/hbase/) - Shares pkgdb curated category or tags: cli, data, java.
- [jena](https://pkg.so/brew/jena/) - Shares pkgdb curated category or tags: cli, data, java.
- [osmosis](https://pkg.so/brew/osmosis/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, data, java, line.
- [carrot2](https://pkg.so/brew/carrot2/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, java, openjdk.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
