# Installer onigmo avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de onigmo pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:onigmo
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install onigmo
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:onigmo
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/onigmo>
- **Version:** 6.2.0
- **Résumé source:** Regular expressions library forked from Oniguruma
- **Page d'accueil:** <https://github.com/k-takata/Onigmo>
- **Dépôt:** <https://github.com/k-takata/Onigmo>
- **Licence:** BSD-2-Clause
- **Archive source:** <https://github.com/k-takata/Onigmo/releases/download/Onigmo-6.2.0/onigmo-6.2.0.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- onigmo-config (cli)
- onigmo-config (alias)

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 6.2.0
- données locales: OK
- dépôt amont: https://github.com/k-takata/Onigmo
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

Onigmo, short for Oniguruma-mod, is a BSD-licensed regular-expression library forked from Oniguruma. It focuses on adding syntax supported by Perl 5.10 and later, including operators such as \K, \R, and conditional patterns.

### Historique du projet

The upstream README describes Onigmo as a fork of Oniguruma with a focus on newer expression syntax. Its most important branch of influence came through Ruby: the README says Onigmo is the default regexp library of Ruby 2.0 or later and that many patches are backported from Ruby 2.x.

Ruby's own issue discussion for merging Onigmo into Ruby 2.0 framed the change as replacing the Oniguruma base used by Ruby 1.9's regular-expression and M17N infrastructure with k-takata's modified Onigmo.

### Historique d'adoption

Onigmo's adoption is strongest through embedders rather than direct CLI use. Ruby made it part of the language runtime, and Fluent Bit's documentation says its Ruby-mode regular-expression parser uses the Onigmo library.

The Homebrew formula exposes Onigmo as a standalone library package with an onigmo-config helper, giving downstream C and C++ consumers a conventional way to compile and link against it.

### Modes d'utilisation

Developers embed Onigmo when they want Ruby-compatible or Perl-influenced regular-expression behavior in native code. The upstream build notes cover Unix/Cygwin configure builds, Windows Visual C++ builds, static and dynamic libraries, tests across encodings, and the onigmo-config flags needed by downstream builds.

### Pourquoi les passionnés de paquets s'y intéressent

Onigmo matters because it is both a fork and a runtime substrate: package managers carry it as a library, but many users encounter it indirectly through Ruby-compatible regex behavior. It also illustrates how language runtime needs can pull a general-purpose C library into a specialized fork.

### Chronologie

- Ruby 2.0 planning: Ruby issue #5820 targeted merging Onigmo as the replacement for Ruby 1.9's Oniguruma-derived regex engine.
- Ruby 2.0 and later: the Onigmo README identifies it as Ruby's default regexp library in this era.

### Related projects

- Onigmo is directly related to Oniguruma, Ruby's regular-expression engine history, and embedders such as Fluent Bit that expose Ruby-style regular expressions.

### Sources

- <https://docs.fluentbit.io/manual/1.5/pipeline/parsers/regular-expression>
- <https://formulae.brew.sh/formula/onigmo>
- <https://github.com/k-takata/Onigmo>
- <https://www.ruby-forum.com/t/ruby-trunk-feature-5820-assigned-merge-onigmo-to-ruby-2-0/215257>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** onigmo
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/fr/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [groonga](https://pkg.so/fr/brew/groonga/) - Popular package that depends on this formula.
- [oniguruma](https://pkg.so/fr/brew/oniguruma/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries, regular-expressions.
- [rgxg](https://pkg.so/fr/brew/rgxg/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, regular-expressions, text-processing.
- [pcre2](https://pkg.so/fr/brew/pcre2/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries, regular-expressions.
- [pcre](https://pkg.so/fr/brew/pcre/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries, regular-expressions.
- [ncurses](https://pkg.so/fr/brew/ncurses/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries.
- [expat](https://pkg.so/fr/brew/expat/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries.
- [libevent](https://pkg.so/fr/brew/libevent/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries.
- [libxml2](https://pkg.so/fr/brew/libxml2/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools, libraries.
- [grok](https://pkg.so/fr/brew/grok/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, expressions, processing.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
