forked from ebhomengo/niki
1
0
Fork 0
niki/docs/mise.md

947 B

Getting Started

1.Installing the CLI
2.Activating mise or adding its shims to PATH
3.Adding tools to mise

Quick start

1. Install mise CLI

First we need to download the mise CLI.
This directory is simply a suggestion. mise can be installed anywhere.

curl https://mise.jdx.dev/install.sh | sh
~/.local/bin/mise --version
mise 2024.x.x

2.Activate mise

Make sure you restart your shell session after modifying your rc file in order for it to take effect.

echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc

then use this command

export MISE_GLOBAL_CONFIG_FILE=./config.toml

how use mise:

mise activate
mise install
mise current
mise ls

mise install -> Go Download 404: https://github.com/golang/go/issues/51255 :

mise settings set go_download_mirror  "https://storage.googleapis.com/golang"

Full Documentation

see https://mise.jdx.dev/