mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
README: Add Nix install instructions (#55)
(tested on NixOS. Not yet tested on other Nix-enabled Linux or on Nix-enabled macOS, but should work there, too, I hope.)
This commit is contained in:
parent
c1ca5cefab
commit
6363c4955b
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -134,6 +134,18 @@ If you're an Arch Linux user, you can also install the package from the AUR:
|
|||
|
||||
$ brew install tealdeer
|
||||
|
||||
### Through Nix (NixOS, Linux with Nix or macOS with Nix)
|
||||
|
||||
If you have the Nix package manager, you can use [attribute `tealdeer` from Nixpkgs](https://nixos.org/nixos/packages.html#tealdeer).
|
||||
|
||||
E.g. to run tealdeer without permanently installing it:
|
||||
|
||||
$ nix run nixpkgs.tealdeer -c tldr tar
|
||||
|
||||
or to install tealdeer into the user environment:
|
||||
|
||||
$ nix-env -iA nixos.tealdeer
|
||||
|
||||
## Configuration
|
||||
|
||||
The tldr command can be customized with a config file called `config.toml`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue