pkg.soopen package index

brew / rank 7113

Install ledit with Homebrew, apt, MacPorts, Nix

Line editor for interactive commands. Version 2-07 via Homebrew; verified 2026-07-13. Also installable with debian: sudo apt install ledit.

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 bottle metadata was recorded.

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
leditexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version2-07
manager updated2026-07-13
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:ledit
Version2-07
Package managerHomebrew
Homepagehttps://pauillac.inria.fr/~ddr/ledit/
Repositoryhttps://github.com/chetmurthy/ledit
Last updated2026-07-13T05:11:30Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation