# hidapi をインストール

hidapi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:hidapi
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install hidapi
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hidapi
```

  証拠: MacPorts ports tree: comms/hidapi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hidapi
```

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

- dnf (92%):

```sh
sudo dnf install hidapi
```

  証拠: Fedora Rawhide package metadata: hidapi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hidapi
```

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

- pacman (92%):

```sh
sudo pacman -S hidapi
```

  証拠: Arch Linux sync databases: hidapi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:hidapi
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/hidapi>
- **バージョン:** 0.15.0
- **ソース概要:** Library for communicating with USB and Bluetooth HID devices
- **ホームページ:** <https://github.com/libusb/hidapi>
- **リポジトリ:** <https://github.com/libusb/hidapi>
- **ライセンス:** GPL-3.0-only OR BSD-3-Clause OR HIDAPI
- **ソースアーカイブ:** <https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.15.0.tar.gz>
- **更新:** 2026-03-20T18:54:15Z
- **生成ソース:** 2026-05-26T22:45:13+00:00

## 実行可能ファイル

- hidtest_hidraw (cli)
- hidtest_libusb (cli)
- hidtest_hidraw (エイリアス)
- hidtest_libusb (エイリアス)

## ビルド依存関係

- cmake
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 鮮度

- ページ生成日: 2026-05-26
- マネージャ版: 0.15.0
- マネージャ更新日: 2026-03-20
- ローカルデータ: ok
- 上流リポジトリ: https://github.com/libusb/hidapi
- 検出された最新: hidapi-0.15.0 (current)

## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** green / low
- library-like package without higher-risk signals

## 関連リンク

- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [avrdude](https://www.automicvault.com/pkg/brew/avrdude/) - Popular package that depends on this formula.
- [open-ocd](https://www.automicvault.com/pkg/brew/open-ocd/) - Popular package that depends on this formula.
- [monero](https://www.automicvault.com/pkg/brew/monero/) - Popular package that depends on this formula.
- [libsigrok](https://www.automicvault.com/pkg/brew/libsigrok/) - Popular package that depends on this formula.
- [liquidctl](https://www.automicvault.com/pkg/brew/liquidctl/) - Popular package that depends on this formula.
- [direwolf](https://www.automicvault.com/pkg/brew/direwolf/) - Popular package that depends on this formula.
- [trezor-agent](https://www.automicvault.com/pkg/brew/trezor-agent/) - Popular package that depends on this formula.
- [onlykey-agent](https://www.automicvault.com/pkg/brew/onlykey-agent/) - Popular package that depends on this formula.

## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
