# Minecraft Server

Run a Minecraft multiplayer server from the command line, with server configuration files kept in \`$HOMEBREW_PREFIX/etc/minecraft-server\`.

> This is the Markdown version of the Minecraft Server page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/minecraft-server>

- **Latest version**: `26.1.2,97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51`
- **Homepage**: <https://www.minecraft.net/en-us/>
- **Categories**: [Developer Tools](https://opennavo.com/categories/developer-tools)
- **Install**: `brew install --cask minecraft-server`
- **30-day installs**: 4
- **Homebrew**: Still offered by Homebrew; paused by OpenNavo
- **Download URL**: <https://piston-data.mojang.com/v1/objects/97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51/server.jar>
- **SHA-256**: `cd47e7c38328f64768fd17af8fcd8b22496b40b63d4ffee81e71ae059fedcb42`

SHA-256 only checks that the download is complete; it is not a security certification.

## Caveats

Configuration files are located in $HOMEBREW_PREFIX/etc/minecraft-server minecraft-server requires Java 16+. You can install the latest version with: brew install --cask temurin

## Installation and removal contents

```json
[
  {
    "declaration": {
      "preflight_steps": [
        {
          "steps": [
            {
              "path": {
                "path": "{{HOMEBREW_PREFIX}}/etc/minecraft-server"
              },
              "type": "mkdir_p"
            }
          ]
        }
      ]
    },
    "phase": "install",
    "sources": [],
    "type": "preflight_steps"
  },
  {
    "declaration": {
      "uninstall": [
        {
          "delete": "$HOMEBREW_PREFIX/etc/minecraft-server/eula.txt"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "command_wrapper": [
        "minecraft-server",
        {
          "content": "#!/bin/sh\ncd '$HOMEBREW_PREFIX/etc/minecraft-server' &&   exec /usr/bin/java ${@:--Xms1024M -Xmx1024M} -jar '$HOMEBREW_PREFIX/Caskroom/minecraft-server/26.1.2,97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51/server.jar' nogui\n"
        }
      ],
      "target": "$HOMEBREW_PREFIX/bin/minecraft-server"
    },
    "phase": "install",
    "sources": [
      "minecraft-server"
    ],
    "target": "$HOMEBREW_PREFIX/bin/minecraft-server",
    "type": "command_wrapper"
  },
  {
    "declaration": {
      "postflight_steps": [
        {
          "steps": [
            {
              "command": {
                "base": "staged_path",
                "path": "minecraft-server.wrapper.sh"
              },
              "type": "run"
            },
            {
              "after": "eula=TRUE",
              "before": "eula=false",
              "path": {
                "path": "{{HOMEBREW_PREFIX}}/etc/minecraft-server/eula.txt"
              },
              "skip_audit": true,
              "type": "inreplace"
            }
          ]
        }
      ]
    },
    "phase": "install",
    "sources": [],
    "type": "postflight_steps"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": "$HOMEBREW_PREFIX/etc/minecraft-server"
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Minecraft Server is a command-line package for running a Minecraft multiplayer server. Homebrew installs the server JAR and provides the `minecraft-server` command to start it. The launcher runs Java in no-GUI mode and uses `-Xms1024M -Xmx1024M` by default.

- The server’s configuration files are located in `$HOMEBREW_PREFIX/etc/minecraft-server`.
- Java 16 or later is required.
- To install the server, run `brew install --cask minecraft-server`. Then start it with `minecraft-server`.
- The command runs the server from its configuration directory and launches the JAR with `nogui`.

This package is the server component, not the Minecraft game launcher or a graphical server-management application. See the [Minecraft official site](https://www.minecraft.net/en-us/) and the [Homebrew cask definition](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/m/minecraft-server.rb) for product and package details.

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 26.1.2,97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/minecraft-server.rb> · Checked 2026-12-05
  - <https://piston-data.mojang.com/v1/objects/97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51/server.jar>
  - SHA-256: `cd47e7c38328f64768fd17af8fcd8b22496b40b63d4ffee81e71ae059fedcb42`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 26.1.2,97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/minecraft-server.rb> · Checked 2026-12-05
  - <https://piston-data.mojang.com/v1/objects/97ccd4c0ed3f81bbb7bfacddd1090b0c56f9bc51/server.jar>
  - SHA-256: `cd47e7c38328f64768fd17af8fcd8b22496b40b63d4ffee81e71ae059fedcb42`

## Uninstall

- `brew uninstall --cask minecraft-server`

A regular uninstall removes the app and keeps its settings and caches.

### Uninstalling also removes

- Files and folders: `$HOMEBREW_PREFIX/etc/minecraft-server/eula.txt` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/minecraft-server.rb> · These entries come from the Homebrew definition, checked 2026-12-05. They say what it declares, not what is on your Mac.

### Deep clean (optional)

- `brew uninstall --zap --cask minecraft-server`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `$HOMEBREW_PREFIX/etc/minecraft-server` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/minecraft-server.rb> · These entries come from the Homebrew definition, checked 2026-12-05. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/minecraft-server>
- <https://opennavo.com/apps/minecraft-server/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/minecraft-server.rb> · Checked 2026-12-05
- <https://formulae.brew.sh/cask/minecraft-server>
