Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

docs: add nixpkgs as an installation method

Sumner Evansb0f47d8628f4
diff --git a/packages/web/src/routes/docs/integrations/language-server/+page.md b/packages/web/src/routes/docs/integrations/language-server/+page.md
index c57a65e78..1effce6eb 100644
--- a/packages/web/src/routes/docs/integrations/language-server/+page.md
+++ b/packages/web/src/routes/docs/integrations/language-server/+page.md
@@ -40,6 +40,24 @@ You may install Harper through [Homebrew](https://brew.sh).
brew install harper
```
+### Nixpkgs/NixOS
+
+You may install Harper via
+[Nixpkgs](https://search.nixos.org/packages?channel=unstable&show=harper&from=0&size=50&sort=relevance&type=packages&query=harper).
+You can install the `harper` package via any of the normal methods such as
+adding it to `environment.systemPackages`. You can try Harper within an
+ephemeral shell using:
+
+```bash
+nix-shell -p harper
+```
+
+or if you have the `nix-command` and `flakes` experimental features enabled:
+
+```bash
+nix shell 'nixpkgs#harper'
+```
+
## Dictionaries
`harper-ls` has three kinds of dictionaries: user, file-local, and static dictionaries.