Installation
Package Managers
Section titled “Package Managers”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.
pacman -S lychee
brew install lychee
docker pull lycheeverse/lychee
nix-env -iA nixos.lychee
pkg install lychee
scoop install lychee
sudo snap install lychee
zypper in lychee
choco install lychee
Pre-built binaries
Section titled “Pre-built binaries”We provide binaries for Linux, macOS, and Windows for every release. You can download them from the releases page.
Build dependencies
Section titled “Build dependencies”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
:
curl -sSf '<https://sh.rustup.rs>' | shapt install gcc pkg-config libc6-dev libssl-dev
Compile and install lychee
Section titled “Compile and install lychee”cargo install lychee
Feature flags
Section titled “Feature flags”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 asexample.com.
This feature is useful for testing.
By default, native-tls
and email-check
are enabled.