Mise Has a Free API That Most Developers Dont Know About

# devtools# productivity# rust# terminal
Mise Has a Free API That Most Developers Dont Know AboutAlex Spinov

Mise (formerly rtx) is a polyglot dev tool version manager. One tool to replace nvm, pyenv, rbenv,...

Mise (formerly rtx) is a polyglot dev tool version manager. One tool to replace nvm, pyenv, rbenv, and more — plus task runner and env management.

Install

curl https://mise.run | sh
mise activate bash >> ~/.bashrc  # or zsh/fish
Enter fullscreen mode Exit fullscreen mode

Manage Tool Versions

# Install and use
mise use node@20
mise use python@3.12
mise use go@1.22
mise use rust@stable

# Per-project (.mise.toml)
mise use --pin node@20.11.0
mise use --pin python@3.12.1
Enter fullscreen mode Exit fullscreen mode

.mise.toml

[tools]
node = "20"
python = "3.12"
go = "1.22"

[env]
DATABASE_URL = "postgres://localhost/mydb"
NODE_ENV = "development"

[tasks.dev]
run = "npm run dev"
description = "Start dev server"

[tasks.test]
run = "npm test"
description = "Run tests"

[tasks.build]
run = "npm run build"
depends = ["test"]
Enter fullscreen mode Exit fullscreen mode

Task Runner

mise run dev
mise run test
mise run build  # Runs test first (depends)
mise tasks  # List all tasks
Enter fullscreen mode Exit fullscreen mode

Key Features

  • Replaces nvm, pyenv, rbenv, goenv
  • 100+ language/tool plugins
  • Task runner with dependencies
  • Environment variables
  • Compatible with .tool-versions (asdf)
  • Written in Rust — fast

Need to scrape or monitor web data at scale? Check out my web scraping actors on Apify or email spinov001@gmail.com for custom solutions.