# checkbashisms を Homebrew, apk, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:checkbashisms
```

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

### macOS

- Homebrew (100%):

```sh
brew install checkbashisms
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add checkbashisms
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#checkbashisms
```

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

- pacman (92%):

```sh
sudo pacman -S checkbashisms
```

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

- zypper (92%):

```sh
sudo zypper install checkbashisms
```

  証拠: openSUSE Tumbleweed package metadata: checkbashisms from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:checkbashisms
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.26.10
- **ソース概要:** Checks for bashisms in shell scripts
- **ホームページ:** <https://launchpad.net/ubuntu/+source/devscripts/>
- **最終更新:** 2026-07-06T15:26:54Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- checkbashisms (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.26.10
## プロジェクトの歴史と使われ方

checkbashisms is a Debian devscripts command that scans shell scripts for possible bash-specific constructs in scripts intended to run as /bin/sh.

### プロジェクトの歴史

The Debian manpage says checkbashisms was originally written as a shell script by Yann Dirson and rewritten in Perl by Julian Gilbey. The current script says it is based on a Lintian scripts check with copyright ancestry from Richard Braakman, Josip Rodin, and Julian Gilbey.

### 採用の歴史

checkbashisms entered devscripts as a new script in the August 2003 changelog. Because devscripts is a standard Debian developer utility package, the command spread first through Debian and Ubuntu workflows, then through repackaging in Homebrew, Alpine, Nix, Arch, and openSUSE as recorded in the batch input.

### 使われ方

Users run `checkbashisms script ...` to warn about constructs not required by POSIX, with options for stricter POSIX checking, force-checking, lint-style editor output, extra context, and early failure.

### パッケージ好きにとっての重要性

checkbashisms is package-nerd folklore because it encodes Debian Policy and POSIX shell portability expectations into a tiny linter, catching scripts that accidentally require bash when packaged as /bin/sh-compatible.

### タイムライン

- 1997: devscripts split off from debmake.
- 1998: Lintian-era scripts checks provide part of checkbashisms' ancestry.
- 2003: checkbashisms added to devscripts.
- 2018: Debian devscripts repository created on Salsa.
- 2026: devscripts 2.26.9 source published in Debian unstable.

### Related projects

- devscripts is the Debian utility collection that ships checkbashisms.
- Lintian is the source of the original check logic described in the script and manpage.
- dash, POSIX sh, Debian Policy, and bash are the compatibility context for the command.

### ソース

- <https://salsa.debian.org/debian/devscripts>
- <https://manpages.debian.org/testing/devscripts/checkbashisms.1.en.html>
- <https://sources.debian.org/data/main/d/devscripts/2.26.9/scripts/checkbashisms.1>
- <https://sources.debian.org/data/main/d/devscripts/2.26.9/scripts/checkbashisms.pl>
- <https://sources.debian.org/data/main/d/devscripts/2.26.9/debian/changelog>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## 他のパッケージマネージャ記録

- Nix - checkbashisms: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/checkbashisms/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - checkbashisms - 2.26.5-r1: normalized package name match | Alpine Linux edge package indexes: checkbashisms from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Debian developer scripts (checkbashisms) | https://tracker.debian.org/pkg/devscripts
- pacman - checkbashisms - 2.26.10-1: normalized package name match | Arch Linux sync databases: checkbashisms from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Debian script that checks for bashisms | https://tracker.debian.org/pkg/devscripts
- zypper - checkbashisms - 2.26.9-1.3: normalized package name match | openSUSE Tumbleweed package metadata: checkbashisms from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool for checking /bin/sh scripts for possible bashisms | https://salsa.debian.org/debian/devscripts


## Combined YAML source

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


## ソース

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