macOS
brew install leditlocal Homebrew formula metadata
sudo port install leditMacPorts ports tree · editors/ledit/Portfile · source: api.github.com
brew
Line editor for interactive commands. Version 2-07 via Homebrew; verified 2026-06-22.
install
brew install leditlocal Homebrew formula metadata
sudo port install leditMacPorts ports tree · editors/ledit/Portfile · source: api.github.com
sudo apt install leditDebian stable package indexes · ledit · source: deb.debian.org
nix profile install nixpkgs#leditnixpkgs package indexes · pkgs/by-name/le/ledit/package.nix · source: api.github.com
overview
Line editor for interactive commands
history
Ledit is a small OCaml line editor for wrapping interactive commands with Emacs-like control keys, shell-style editing, and command history behavior.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ledit | cli | global executable |
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.
https://github.com/chetmurthy/ledit
install metadata
| Package key | brew:ledit |
|---|---|
| Version | 2-07 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ledit |
| Homepage | https://pauillac.inria.fr/~ddr/ledit/ |
| Repository | https://github.com/chetmurthy/ledit |
| Upstream docs | https://github.com/chetmurthy/ledit#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/chetmurthy/ledit/archive/refs/tags/ledit-2-07.tar.gz |
| Last updated | 2026-06-22T14:05:10-07:00 |
| Pulse | updated |
| Dependencies | camlp-streams, camlp5, ocaml |
| Build dependencies | ocaml-findlib |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ledit |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ledit 2.04-8+b12
line editor for interactive programs
http://cristal.inria.fr/~ddr/ledit/
sudo apt install leditlibledit-ocaml-dev 2.04-8+b12
OCaml line editor library
http://cristal.inria.fr/~ddr/ledit/
sudo apt install libledit-ocaml-devledit
nix profile install nixpkgs#leditledit 2.04-7build5
line editor for interactive programs
http://cristal.inria.fr/~ddr/ledit/
sudo apt install leditlibledit-ocaml-dev 2.04-7build5
OCaml line editor library
http://cristal.inria.fr/~ddr/ledit/
sudo apt install libledit-ocaml-devledit
sudo port install leditsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.