# Install h2

Java SQL database. Version 2.4.240 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:h2
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install h2
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#h2
```

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

## Package Facts

- **Package key:** brew:h2
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/h2>
- **Version:** 2.4.240
- **Source summary:** Java SQL database
- **Homepage:** <https://www.h2database.com/>
- **Repository:** <https://github.com/h2database/h2database>
- **Upstream docs:** <https://h2database.github.io/html/commands.html>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/h2database/h2database/releases/download/version-2.4.240/h2-2025-09-22.zip>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- h2 (cli)
- h2 (alias)

## Dependencies

- openjdk

## Install Behavior

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

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.4.240
- Local data status: ok
- Upstream repository: https://github.com/h2database/h2database
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** h2
- **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

## Other Package-Manager Records

- Nix - h2: normalized package name match | nixpkgs package indexes: pkgs/by-name/h2/h2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related Links

- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/de/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/de/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [h3](https://www.automicvault.com/de/pkg/brew/h3/) - Package name indicates the same formula family.
- [neo4j](https://www.automicvault.com/de/pkg/brew/neo4j/) - Shares av.db curated category or tags: cli, data, database, databases, java.
- [rocksdb](https://www.automicvault.com/de/pkg/brew/rocksdb/) - Shares av.db curated category or tags: cli, data, database, databases, embedded-database.
- [tokyo-cabinet](https://www.automicvault.com/de/pkg/brew/tokyo-cabinet/) - Shares av.db curated category or tags: cli, data, database, databases, embedded-database.
- [hbase](https://www.automicvault.com/de/pkg/brew/hbase/) - Shares av.db curated category or tags: cli, data, database, databases, java.
- [cql](https://www.automicvault.com/de/pkg/brew/cql/) - Shares av.db curated category or tags: cli, data, database, databases, sql.
- [sqlite](https://www.automicvault.com/de/pkg/brew/sqlite/) - Shares av.db curated category or tags: cli, data, database, embedded-database, sql.
- [libmaxminddb](https://www.automicvault.com/de/pkg/brew/libmaxminddb/) - Shares av.db curated category or tags: cli, data, database, databases.
- [mcp-toolbox](https://www.automicvault.com/de/pkg/brew/mcp-toolbox/) - Shares av.db curated category or tags: cli, data, databases, sql.
- [apache-geode](https://www.automicvault.com/de/pkg/brew/apache-geode/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, databases, openjdk.

## Sources

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