Advanced
CLI Reference
The trident command-line tool — manage instances, mods, accounts, and more from the terminal.
Installation
The CLI (trident) is included with Polymerium. It's also available as a standalone .NET tool:
dotnet tool install --global Trident.CliGlobal Options
| Option | Description |
|---|---|
--home <path> | Override the data directory |
--json | Output results as JSON |
--no-interactive | Disable interactive prompts |
--verbose / --debug | Increase output verbosity |
Instance Commands
Create an Instance
trident instance create my-modpack --version 1.21.4 --loader fabricOptions:
--version— Minecraft version (required)--loader— Loader name:fabric,forge,neoforge,quilt
List Instances
trident instance listInspect an Instance
trident instance inspect my-modpackShows version, loader, mod count, deploy status, and more.
Deploy (Build) an Instance
trident instance build my-modpackRuns the full deploy pipeline. Equivalent to clicking "Deploy" in the GUI.
Launch an Instance
trident instance run my-modpackDeploys if needed, then launches Minecraft.
Export a Modpack
trident instance export my-modpack --format modrinth --output ./release/Supported formats: trident, curseforge, modrinth, multimc.
Import a Modpack
trident instance import ./my-pack.mrpackAuto-detects the format.
Delete an Instance
trident instance delete my-modpackPackage Commands
Search for Mods
trident package search "sodium"Add a Mod
trident package add modrinth:sodiumThe purl format is repository:project-id or repository:project-id@version-id.
List Installed Mods
trident package list --instance my-modpackEnable / Disable a Mod
trident package enable modrinth:sodium --instance my-modpack
trident package disable modrinth:sodium --instance my-modpackView Available Versions
trident package version list modrinth:sodiumPin a Specific Version
trident package version set modrinth:sodium <version-file-id>Loader Commands
List Loaders for an Instance
trident loader list --instance my-modpackChange the Loader
trident loader set my-modpack --loader neoforge --version 21.4.0Account Commands
Add a Microsoft Account
trident account addLaunches the Device Code Flow in the terminal.
Add an Offline Account
trident account add-offline --username SteveList Accounts
trident account listRemove an Account
trident account remove <uuid>Repository Commands
List Configured Repositories
trident repository listCheck Repository Status
trident repository statusAdd a Repository
trident repository add my-repo https://api.example.comMCP Mode
Start an MCP server for AI agent integration:
trident --mcpSee MCP Mode → for details.