Skip to main content

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:
What the script does:
  • 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.txt and stops if it differs.
  • Installs both binaries into LDEV_INSTALL_DIR if it’s set, otherwise into /usr/local/bin if you can write to it, otherwise into ~/.local/bin. It never uses sudo.
  • Replaces the existing binaries.
  • Prints the installed version, a PATH hint if the directory is not in PATH and a warning if another ldev comes first in PATH.

Homebrew

macOS only. On Linux, use the install script or a tarball.

Release tarball

Download ldev_<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:
Put 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.
Running Localdev under WSL2 has not been tested yet.

Upgrade

  • Install script: run it again.
  • Homebrew: brew upgrade ldev.
  • Tarball: replace both binaries together.
Localdev keeps no data on disk between runs, so there is nothing to migrate.

Uninstall

Delete ldev and localdevcollector (the install script printed where it put them), or run brew uninstall ldev.