Automic VaultAutomic Vault

brew

Install ledit with Homebrew, apt, MacPorts, Nix

Line editor for interactive commands. Version 2-07 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ledit

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install ledit

MacPorts ports tree · editors/ledit/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install ledit

Debian stable package indexes · ledit · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#ledit

nixpkgs package indexes · pkgs/by-name/le/ledit/package.nix · source: api.github.com

overview

Package summary

Line editor for interactive commands

Commands and aliases

  • ledit

history

Project history and usage

Ledit is a small OCaml line editor for wrapping interactive commands with Emacs-like control keys, shell-style editing, and command history behavior.

Project history

The project originated at Inria as an OCaml/Camlp4-era utility by Daniel de Rauglaudre. Its changelog records open-source licensing in 2001, years of compatibility work for Camlp4/Camlp5 and OCaml, and the addition of a user `.leditrc` binding file in version 2.00 on 2008-01-18.

The GitHub-hosted continuation preserved the Inria codebase and kept it buildable for newer OCaml releases, including updates for recent OCaml versions in 2018, OCaml 5.0 build work in 2022, and opam/build fixes in 2025.

Adoption history

Ledit stayed in the Unix package ecosystem as a compact tool rather than a large application: the input package facts list Homebrew, Debian, MacPorts, Nix, and Ubuntu packaging. That footprint reflects the usual adoption path for small terminal helpers used by OCaml and command-line users.

How it is used

Users run `ledit` in front of another interactive command to get line editing, history navigation, reverse search, and configurable key bindings without changing the wrapped program.

Why package nerds care

For package maintainers, Ledit is an example of the old but durable terminal-helper class: tiny source, native-code language dependencies, man-page behavior, and recurring build-system updates to survive language-runtime churn.

Timeline

  • 2001: Changelog records the addition of an open-source license.
  • 2008: Version 2.00 added support for a home-directory `.leditrc` or `LEDITRC` binding file.
  • 2018: Version 2.04 was distributed on the Inria page with updates for newer OCaml versions.
  • 2022: Version 2.06 updated the build for OCaml 5.0.0.
  • 2025: Versions 2.07 and 2.08 shipped build and opam maintenance fixes.

Related projects

  • Ledit sits near other command wrappers and line editors such as `rlwrap`, but its implementation and packaging history are tied to OCaml, Camlp5, and Inria's OCaml ecosystem.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
leditcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2-07
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/chetmurthy/ledit

install metadata

Package metadata

Package keybrew:ledit
Version2-07
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ledit
Homepagehttps://pauillac.inria.fr/~ddr/ledit/
Repositoryhttps://github.com/chetmurthy/ledit
Upstream docshttps://github.com/chetmurthy/ledit#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/chetmurthy/ledit/archive/refs/tags/ledit-2-07.tar.gz
Last updated2026-06-22T14:05:10-07:00
Pulseupdated
Dependenciescamlp-streams, camlp5, ocaml
Build dependenciesocaml-findlib
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameledit
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

ledit 2.04-8+b12

line editor for interactive programs

http://cristal.inria.fr/~ddr/ledit/

sudo apt install ledit
  • Section: editors
  • Architecture: amd64
  • Source Package: ledit
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ledit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ledit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libledit-ocaml-dev 2.04-8+b12

OCaml line editor library

http://cristal.inria.fr/~ddr/ledit/

sudo apt install libledit-ocaml-dev
  • Section: ocaml
  • Architecture: amd64
  • Source Package: ledit
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ledit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libledit-ocaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ledit

nix profile install nixpkgs#ledit
  • normalized package name match
  • Matched by: Ledit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/ledit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ledit 2.04-7build5

line editor for interactive programs

http://cristal.inria.fr/~ddr/ledit/

sudo apt install ledit
  • Section: universe/editors
  • Architecture: amd64
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ledit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ledit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libledit-ocaml-dev 2.04-7build5

OCaml line editor library

http://cristal.inria.fr/~ddr/ledit/

sudo apt install libledit-ocaml-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: ledit
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ledit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libledit-ocaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

ledit

sudo port install ledit
  • normalized package name match
  • Matched by: Ledit
MacPorts ports tree · api.github.com · MacPorts ports tree: editors/ledit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment