mise current
Usage: mise current [PLUGIN]
Shows current active and installed runtime versions
This is similar to mise ls --current
, but this only shows the runtime and/or version. It's designed to fit into scripts more easily.
Arguments
[PLUGIN]
Plugin to show versions of e.g.: ruby, node, cargo:eza, npm:prettier, etc
Examples:
# outputs `.tool-versions` compatible format
$ mise current
python 3.11.0 3.10.0
shfmt 3.6.0
shellcheck 0.9.0
node 20.0.0
$ mise current node
20.0.0
# can output multiple versions
$ mise current python
3.11.0 3.10.0