🍺 BREW Explorer

← all formulae

libedit

brew install libedit v20260512-3.1 BSD-3-Clause keg-only

BSD-licensed readline alternative shared library for command-line editing and history.

Why you might care

Drop-in replacement for GNU readline with a permissive BSD license, avoiding GPL obligations in proprietary or commercial software. Lighter-weight than readline and commonly used as macOS's native editline. Keg-only here because Apple provides it; install if you need a specific newer version or BSD-licensed variant for linking.

Categories

Alternatives

readline linenoise editline
47.5k
30-day installs · #135
227.4k
90-day · #80
707.8k
365-day · #94

Links

Keg-only reason

:provided_by_macos

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "readline",
    "linenoise",
    "editline"
  ],
  "build_dependencies": [],
  "categories": [
    "library",
    "shell"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "BSD-style licensed readline alternative",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:41+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "libedit",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://thrysoee.dk/editline/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Editline Library (libedit) - Port of NetBSD Command Line Editor Library",
  "installs_30d": 47527,
  "installs_365d": 707824,
  "installs_90d": 227359,
  "keg_only": 1,
  "keg_only_reason": ":provided_by_macos",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": "2026-06-20T23:42:57+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "libedit",
  "oldnames": [],
  "one_liner": "BSD-licensed readline alternative shared library for command-line editing and history.",
  "optional_dependencies": [],
  "rank_30d": 135,
  "rank_365d": 94,
  "rank_90d": 80,
  "raw_hash": "85b820ff4c15d5ff",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/lib/libedit.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "ncurses"
  ],
  "version_head": null,
  "version_stable": "20260512-3.1",
  "versioned_formulae": [],
  "why_use_this": "Drop-in replacement for GNU readline with a permissive BSD license, avoiding GPL obligations in proprietary or commercial software. Lighter-weight than readline and commonly used as macOS\u0027s native editline. Keg-only here because Apple provides it; install if you need a specific newer version or BSD-licensed variant for linking."
}