From b67a198761d6a232499828e014b3c7503bcc58f4 Mon Sep 17 00:00:00 2001 From: Alliot <24980252+AlliotTech@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:16:26 +0800 Subject: [PATCH 1/5] feat: add asdf install --- docs/installation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index 643743bb6..416f91c24 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -80,6 +80,10 @@ npm add -D @j178/prek --8<-- "README.md:cargo-binstall" +### asdf + +--8<-- "README.md:asdf-install" + ## Docker prek provides a Docker image at From 68c9b3241c8a3e26b0979c94f04ca39dd11cf427 Mon Sep 17 00:00:00 2001 From: AlliotTech <24980252+AlliotTech@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:31:56 +0800 Subject: [PATCH 2/5] feat: add asdf install --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index fc8fab680..4262c0688 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,13 @@ while also providing some additional long-requested features. ## Table of contents +- [Features](#features) +- [Table of contents](#table-of-contents) - [Installation](#installation) - [Quick start](#quick-start) - [Why prek?](#why-prek) + - [prek is faster](#prek-is-faster) + - [prek provides a better user experience](#prek-provides-a-better-user-experience) - [Who is using prek?](#who-is-using-prek) - [Acknowledgements](#acknowledgements) @@ -302,6 +306,21 @@ 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: From 46437cc0cdae6d421e52f4dd9c8de1ebc7351a64 Mon Sep 17 00:00:00 2001 From: AlliotTech <24980252+AlliotTech@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:39:04 +0800 Subject: [PATCH 3/5] lint: remove space --- docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 416f91c24..93b4bbac3 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -80,7 +80,7 @@ npm add -D @j178/prek --8<-- "README.md:cargo-binstall" -### asdf +### asdf --8<-- "README.md:asdf-install" From 4023c223616465af56e59de42415f8291ae3f570 Mon Sep 17 00:00:00 2001 From: AlliotTech <24980252+AlliotTech@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:44:16 +0800 Subject: [PATCH 4/5] chore: disable toc update on save --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 4262c0688..231ce3e1e 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,9 @@ while also providing some additional long-requested features. ## Table of contents -- [Features](#features) -- [Table of contents](#table-of-contents) - [Installation](#installation) - [Quick start](#quick-start) - [Why prek?](#why-prek) - - [prek is faster](#prek-is-faster) - - [prek provides a better user experience](#prek-provides-a-better-user-experience) - [Who is using prek?](#who-is-using-prek) - [Acknowledgements](#acknowledgements) From 8e77bc77dd2ef6565cf128ffdf628ba54d97a803 Mon Sep 17 00:00:00 2001 From: AlliotTech <24980252+AlliotTech@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:52:41 +0800 Subject: [PATCH 5/5] feat: add new line --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 231ce3e1e..fb89b0f91 100644 --- a/README.md +++ b/README.md @@ -306,6 +306,7 @@ 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 @@ -313,6 +314,7 @@ asdf install prek latest # or asdf install prek ``` +