Platforms
Currently supported operating systems and architectures are listed below.
Windows is not supported natively yet. See Windows below.
What gets installed
Two binaries are installed, and they must live next to each other:ldev and localdevcollector.
The ldev binary looks for the collector next to itself (following symlinks), then in PATH.
Install script
macOS and Linux:- Detects the OS and the CPU architecture. A shell under Rosetta (macOS) gets the arm64 build.
- Installs the latest release, or the version in
LDEV_VERSION. - Checks the tarball’s SHA-256 against the release’s
checksums.txtand stops if it differs. - Installs both binaries into
LDEV_INSTALL_DIRif it’s set, otherwise into/usr/local/binif you can write to it, otherwise into~/.local/bin. It never usessudo. - Replaces the existing binaries.
- Prints the installed version, a
PATHhint if the directory is not inPATHand a warning if anotherldevcomes first inPATH.
Homebrew
macOS only. On Linux, use the install script or a tarball.Release tarball
Downloadldev_<version>_<os>_<arch>.tar.gz and checksums.txt from the
releases page, check the download, and unpack
both ldev and localdevcollector into the same directory on your PATH.
Check the installation
ldev -version doesn’t check for the collector. If ldev can’t find it when you run a Projectfile, it stops with:
ldev and localdevcollector in the same directory.
Windows
Install WSL2 and use the Linux build inside it, with the install script or a Linux tarball.Upgrade
- Install script: run it again.
- Homebrew:
brew upgrade ldev. - Tarball: replace both binaries together.
Uninstall
Deleteldev and localdevcollector (the install script printed where it put them), or run
brew uninstall ldev.
