Skip to content

Installation

You can install Lychee using various package managers. Just click on the tab for your preferred package manager to see the installation command. In case your favorite package manager is not listed yet, please consider adding support for it.

Terminal window
pacman -S lychee

We provide binaries for Linux, macOS, and Windows for every release. You can download them from the releases page.

On APT/dpkg-based Linux distros (e.g. Debian, Ubuntu, Linux Mint and Kali Linux) the following commands will install all required build dependencies, including the Rust toolchain and cargo:

Terminal window
curl -sSf '<https://sh.rustup.rs>' | sh
apt install gcc pkg-config libc6-dev libssl-dev
Terminal window
cargo install lychee

Lychee supports several feature flags:

  • native-tls enables the platform-native TLS crate native-tls.
  • vendored-openssl compiles and statically links a copy of OpenSSL. See the corresponding feature of the openssl crate.
  • rustls-tls enables the alternative TLS crate rustls.
  • email-check enables checking email addresses using the check-if-email-exists crate. This feature requires the native-tls feature.
  • check_example_domains allows checking example domains such as example.com. This feature is useful for testing.

By default, native-tls and email-check are enabled.