mise is used to run tasks and manage tool versions.
curl https://mise.run | sh
- Add mise to your shell profile. This activates mise in your shell, ensuring the correct tool versions are used for your environment.
# Zsh
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
source ~/.zshrc
# Bash
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
source ~/.bashrc
# Fish
echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish
fish_add_path ~/.local/share/
- Run
mise trust
to trust the project's.mise.toml
file.
See Prerequisites for installing mise – an all-in-one tool for managing project dependencies, environment variables, and running tasks.
# Install libvips prerequisites
brew install vips pkg-config
# Setup the project
mise run setup
# Start the development server
# By default: https://localhost:3000
mise run