LinuxCommandLibrary

minecraft

launches the Minecraft game

TLDR

Launch Minecraft

$ minecraft-launcher
copy
Run server
$ java -Xmx[2G] -jar [server.jar] nogui
copy
Specify version
$ minecraft-launcher --version [1.20]
copy
Specify game directory
$ minecraft-launcher --gameDir [/path/to/minecraft]
copy
Demo mode
$ minecraft-launcher --demo
copy

SYNOPSIS

minecraft-launcher [options]

DESCRIPTION

minecraft launches the Minecraft game. The launcher manages versions and profiles.
The tool downloads game files and manages Java runtime. Supports mods and custom configurations.

PARAMETERS

--version VER

Game version.
--gameDir DIR
Game directory.
--demo
Demo mode.
--server HOST
Auto-connect to server.
--help
Display help information.

CAVEATS

Requires purchase. Java needed for server. Large download.

HISTORY

Minecraft was created by Markus "Notch" Persson in 2009, now developed by Mojang Studios (Microsoft).

SEE ALSO

java(1), mcli(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community