# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **バージョン:** 11.0.1
- **ソース概要:** Catch insensitive, inconsiderate writing
- **ホームページ:** <https://alexjs.com>
- **リポジトリ:** <https://github.com/get-alex/alex>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- alex (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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
## 他のパッケージマネージャ記録

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
