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.
This commit is contained in:
Anders Olsson 2024-02-18 23:02:26 +01:00
parent fa579b74df
commit 0fab0f64ac

View file

@ -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