Suggest using mise instead of asdf (#1673)

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:42:24 +01:00 committed by GitHub
parent fa579b74df
commit 1f0f932c5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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