Skip to content

A minimal command line Minecraft launcher.

License

Notifications You must be signed in to change notification settings

telecter/cmd-launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A minimal command line Minecraft launcher.

Topics

Resources

License

Stars

Watchers

Forks

Languages