From 0fab0f64acd69e50ce38cab541478f4e6876e82a Mon Sep 17 00:00:00 2001 From: Anders Olsson <661919+anderso@users.noreply.github.com> Date: Sun, 18 Feb 2024 23:02:26 +0100 Subject: [PATCH] Suggest using mise instead of asdf asdf adds 120-150 ms to startup time, multiplying bb startup time by a factor of 5 or so. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eca660be..058d7fc2 100644 --- a/README.md +++ b/README.md @@ -212,13 +212,25 @@ linux binary. ### asdf -[asdf](https://github.com/asdf-vm/asdf) is an extendable version manager for linux and macOS. +[asdf](https://github.com/asdf-vm/asdf) is an extendable version manager for linux and macOS. Note that asdf will add significant startup time to any babashka script, consider using [mise](#mise) instead. Babashka can be installed using a plugin as follows: asdf plugin add babashka https://github.com/pitch-io/asdf-babashka asdf install babashka latest +### mise + +[mise](https://mise.jdx.dev/) is a development environment setup tool for linux and macOS. + +Install: + + mise use --global babashka@latest + +Upgrade: + + mise upgrade babashka + ### Windows #### Scoop