mise的使用方法
概述 类似于asdf的版本管理工具 在项目的顶部使用.mise.toml中描述的软件 设计用于与/direnv/结合使用 也可作为任务运行器使用 安装 $ curl <<<url_2524f394>>> | sh 设置 zsh $ echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc direnv $ mkidr -p ~/.config/direnv/lib $ mise direnv activate > ~/.config/direnv/lib/use_mise.sh 参数 use : 使用特定版本的软件 run : 运行任务 ls : 显示正在使用的软件列表 ls-remote <tool> : 显示可用的软件列表 基本用法 在项目中使用特定版本的软件 $ mkdir project $ cd project $ mise use python@3.12.1 $ mise use nodejs@latest $ python3 --version Python 3.12.1 作为任务运行器使用 在.mise.toml中描述