# alexjs を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:alexjs
```

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

### macOS

- Homebrew (100%):

```sh
brew install alexjs
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install alex
```

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

### Linux

- apk (92%):

```sh
sudo apk add alex
```

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

- Debian apt (92%):

```sh
sudo apt install alex
```

  証拠: Debian stable package indexes: alex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install alex
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#alex
```

  証拠: nixpkgs package indexes: alex from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S alex
```

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

- zypper (92%):

```sh
sudo zypper install alex
```

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

## パッケージ情報

- **パッケージキー:** brew:alexjs
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/alexjs>
- **バージョン:** 11.0.1
- **ソース概要:** Catch insensitive, inconsiderate writing
- **ホームページ:** <https://alexjs.com>
- **リポジトリ:** <https://github.com/get-alex/alex>
- **上流ドキュメント:** <https://alexjs.com>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/get-alex/alex/archive/refs/tags/11.0.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- alex (cli)
- alex (エイリアス)

## 依存関係

- node

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 11.0.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/get-alex/alex
- 検出された最新: 11.0.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

alex is a command-line and JavaScript API tool for catching insensitive or inconsiderate writing. It belongs to the text-linting ecosystem around unified, retext, and markdown tooling, but its subject matter is inclusive language rather than syntax style.

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

The official website and README describe alex as a tool that flags gender-favoring, polarizing, race-related, ableist, profane, or otherwise unequal phrasing and suggests alternatives. It reads plain text, Markdown, MDX, and HTML, and exposes both a CLI and JavaScript APIs.

The README records preliminary work in 2015, Titus Wormer as author, and an origin story crediting a raised problem and Sindre Sorhus's inspiration. The alexjs.com page carries a 2015 publication date and presents an online demo, CLI examples, and integrations.

Technically, alex composes existing natural-language processing packages: the README points users to `retext-equality` and `retext-profanities` for the rules and uses VFile messages as the API result shape. That places it squarely inside the unified/retext package family.

### 採用の歴史

alex's official README lists integrations for Sublime, Gulp, Slack, Ember, Probot, GitHub Actions, Vim, browser extensions, Contentful, Figma, and VS Code. The official site also lists earlier editor and workflow integrations.

The supplied package facts show unusually broad distribution for a Node writing tool: Homebrew as `alexjs`, and distro packages as `alex` in apk, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE. That breadth reflects a CLI useful in documentation repos, CI checks, and editorial workflows.

### 使われ方

Typical CLI usage is `alex example.md` or `alex .`, with warnings reported by source position, rule id, and suggested wording. The README also documents Markdown comments for inline disables and enables.

Configuration can live in `.alexrc`, `.alexrc.yml`, `.alexrc.yaml`, `.alexrc.js`, or an `alex` field in `package.json`; directory scanning can be controlled with `.alexignore`. API users call functions such as `markdown`, `mdx`, `html`, or `text` and inspect returned VFile messages.

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

alex is package-nerd significant because it helped make inclusive-language checking feel like linting: install a CLI, add a dotfile, wire it into CI, and treat prose issues like structured diagnostics.

It also shows why package naming matters. The upstream project and executable are `alex`, while Homebrew packages it as `alexjs`, likely to avoid name ambiguity in a global formula namespace.

### タイムライン

- 2015: Preliminary work and publication date recorded by official README and alexjs.com metadata.
- 2015: Launch attracted social and press attention according to the README origin story.
- 2015 onward: Editor, build-tool, chat, GitHub, and browser integrations accumulated around the CLI.
- Current README: alex supports plain text, Markdown, MDX, and HTML inputs with CLI and JavaScript APIs.

### Related projects

- The official README names retext-equality and retext-profanities as rule sources and VFile as the diagnostics container.
- alex sits near prose linters, markdown tooling, and editor/CI lint integrations rather than conventional grammar checkers.

### ソース

- <https://alexjs.com>
- <https://github.com/get-alex/alex#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .alexrc, .alexrc.yml, .alexrc.yaml, .alexrc.js, package.json#alex, .alexignore
## ソースデータベース詳細

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

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

- MacPorts - alex: installed executable or alias match | MacPorts ports tree: devel/alex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - alex - 3.4.0.1-1+b1: installed executable or alias match | Debian stable package indexes: alex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lexical analyser generator for Haskell | http://www.haskell.org/alex/
- Nix - alex: installed executable or alias match | nixpkgs package indexes: alex from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - alex - 3.3.0.0-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: alex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lexical analyser generator for Haskell | http://www.haskell.org/alex/
- apk - alex - 3.5.4.0-r1: installed executable or alias match | Alpine Linux edge package indexes: alex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lexical analyser generator for Haskell | https://www.haskell.org/alex/
- apk - alex-doc - 3.5.4.0-r1: installed executable or alias match | Alpine Linux edge package indexes: alex-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lexical analyser generator for Haskell (documentation) | https://www.haskell.org/alex/
- dnf - alex - 3.5.4.0-2.fc45: installed executable or alias match | Fedora Rawhide package metadata: alex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Tool for generating lexical analysers in Haskell | https://hackage.haskell.org/package/alex
- pacman - alex - 3.5.4.2-1: installed executable or alias match | Arch Linux sync databases: alex from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Lexical analyser generator for Haskell | https://hackage.haskell.org/package/alex
- zypper - alex - 3.5.4.2-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: alex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Alex is a tool for generating lexical analysers in Haskell | https://hackage.haskell.org/package/alex


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [wordgrinder](https://pkg.so/ja/brew/wordgrinder/) - Shares pkgdb curated category or tags: cli, productivity, writing.
- [diction](https://pkg.so/ja/brew/diction/) - Shares pkgdb curated category or tags: cli, productivity, writing.
- [tmux](https://pkg.so/ja/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity.
- [vim](https://pkg.so/ja/brew/vim/) - Shares pkgdb curated category or tags: cli, productivity.
- [himalaya](https://pkg.so/ja/brew/himalaya/) - Shares pkgdb curated category or tags: cli, productivity.
- [yazi](https://pkg.so/ja/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity.
- [emacs](https://pkg.so/ja/brew/emacs/) - Shares pkgdb curated category or tags: cli, productivity.
- [zellij](https://pkg.so/ja/brew/zellij/) - Shares pkgdb curated category or tags: cli, productivity.
- [alex](https://pkg.so/ja/npm/alex/) - Executable or command metadata overlaps with this package. Shared terms: alex, catch, cli, inconsiderate, insensitive.
- [backlog-md](https://pkg.so/ja/brew/backlog-md/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, node, productivity.
- [fanyi](https://pkg.so/ja/brew/fanyi/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, node, productivity.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
