docs/src/installing.md
There are a few different ways to install tealdeer:
Additionally, when not using system packages, you can manually install autocompletions.
Tealdeer has been added to a few package managers:
tealdeertealdeertealdeersysutils/tealdeerapp-misc/tealdeertealdeertealdeersysutils/tealdeertealdeertealdeertealdeertealdeertealdeerStatic binary builds (currently for Linux only) are available on the GitHub releases page. Simply download the binary for your platform and run it!
cargo installBuild and install the tool via cargo...
$ cargo install tealdeer
Release build:
$ cargo build --release
Release build with native TLS support:
$ cargo build --release --features native-tls
Debug build with logging support:
$ cargo build --features logging
(To enable logging at runtime, export the RUST_LOG=tldr=debug env variable.)
Shell completion scripts are located in the folder completion.
Just copy them to their designated location:
cp completion/bash_tealdeer /usr/share/bash-completion/completions/tldrcp completion/fish_tealdeer ~/.config/fish/completions/tldr.fishcp completion/zsh_tealdeer /usr/share/zsh/site-functions/_tldr