Categorygithub.com/telecter/cmd-launcher
repositorypackage
0.0.0-20250124220419-4c65270e42b9
Repository: https://github.com/telecter/cmd-launcher.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

cmd-launcher

A minimal command line Minecraft launcher.

Installation

Make sure you have Go installed.

To install, run:

go install github.com/telecter/cmd-launcher@main

Building from source

  1. Clone this repository with git
  2. In the source directory, run go build .

Usage

Run the help subcommand to get the usage information.

Selecting Versions

To choose the version of the game to run, use the start <version> subcommand.

cmd-launcher start 1.21

[!IMPORTANT] This launcher is not tested for versions < 1.19. It may not work, mainly because this launcher does not yet support installing native libraries.

Online Mode

Without any options, the launcher will automatically attempt to use online mode. As part of Microsoft's OAuth2 flow, the default web browser will be opened to complete the authentication.

If you want to use offline mode, just pass the -u, --username <username> flag before the version to set your username and the game will automatically launch in offline mode.

Mod Loaders

Currently, only Fabric and Quilt are supported. Use the -l, --loader flag to use them.

cmd-launcher start -l fabric 1.21