diff --git a/README.md b/README.md index f6eb82919..6ded98f33 100644 --- a/README.md +++ b/README.md @@ -319,6 +319,23 @@ prek is also available via [`taiki-e/install-action`](https://github.com/taiki-e +
+asdf + + + +```bash +asdf plugin add prek https://github.com/AlliotTech/asdf-prek.git +asdf list all prek +asdf install prek latest +# or +asdf install prek +``` + + + +
+ If installed via the standalone installer, prek can update itself to the latest version: diff --git a/docs/installation.md b/docs/installation.md index e28ac11dc..aee66189f 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -84,6 +84,10 @@ npm add -D @j178/prek --8<-- "README.md:cargo-binstall" +### asdf + +--8<-- "README.md:asdf-install" + ## Docker prek provides a Docker image at