Shape your
Minecraft setup.
Anvil is a terminal-native instance and mod manager for FabricMC. Lightweight, fast, and built for the command line.
Linux & macOS · Go 1.21+ · view source
Features
Everything you need,
nothing you don't.
Instance creation, mod installation, Java management — all from one binary, zero GUI.
Instance Management
Create, delete, and switch between fully isolated Minecraft instances. Each has its own mods, saves, config, and metadata.
Modrinth Integration
Search and install mods from Modrinth with automatic dependency resolution. No manual library hunting.
FabricMC Loader
Anvil talks directly to the FabricMC meta API to install the right loader and Fabric API version every time.
Java Runtime Manager
Downloads and manages JREs via Adoptium. No system Java conflicts — Anvil keeps its own isolated runtime store.
Microsoft Auth
Full Microsoft account authentication flow. Credentials stored locally in ~/.anvil/profile.json — no third-party relays.
Zero Config Start
Everything lives in ~/.anvil/. No root required, no system-wide changes, no setup wizard.
CLI
Built for
the terminal.
One binary. One command prefix. No Electron, no daemon, no GUI. Anvil stays out of your way.
How it works
From zero to playing
in four steps.
Anvil handles every layer of the stack — auth, Java, mods, launch — so you don't have to.
Install
One command,
done.
A single curl command fetches the installer, compiles the binary from source, and drops it into your PATH. No package manager, no root, no dependencies.
Authenticate
Your account,
your way.
Anvil uses Microsoft's OAuth2 device code flow — visit a URL, enter a short code, done. Your credentials are stored locally in ~/.anvil/profile.json. Nothing goes through a third-party server.
Create & mod
Any version,
any mods.
Create a named instance for any Minecraft version. Search Modrinth and install mods by slug — one at a time or several at once. Dependencies are resolved automatically, no manual hunting.
Play
Launch and
forget.
Anvil fetches the right Java runtime via Adoptium, assembles the full classpath, and hands control to the Fabric launcher. Assets, libraries, saves — all scoped to the instance. Switch between instances instantly.
Roadmap
What's coming.
Core features are solid and shipped. Extended ecosystem support is on the way.