News
Game
Guides
Downloads
Versions
/version
COMMANDS DEBUG & TESTS CHEATS · LEVEL 2 Added in 1.21.6

/version command in Minecraft

/version prints the version information of the server you are playing on: version name, data version, protocol and pack formats. Admins use it to check which build is running, and data pack authors to pick the right pack format.

Syntax

/version

// In single player, no cheats are needed.

Examples

Check the server version

/version

Prints the block of version information in chat.

Java 26.3
Build your command

Fill in the fields, then copy the command.

Command generator

What the output lists

After Server version info:, the chat shows name (the version name), id, data (the data version), series, protocol, build_time, pack_resource and pack_data (the resource pack and data pack formats), and stable, which tells whether the build is a release.

When to use it

Read pack_data before writing the pack.mcmeta of a data pack you load with /datapack. The command needs permission level 2. For the list of commands you can use, see /help.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/version: FAQ

Does /version show my client version?

No, it shows the version of the server running the world. In singleplayer, that is the built-in server of your game, so both match.

What is pack_data in /version?

It is the data pack format number of this version. Use it in the pack.mcmeta file of your data packs.

How do I use /version?

Type it in the chat: /version. In single player it works even with cheats off; on a server it needs operator level 2.

Who can use /version?

Every player in single player, cheats on or operator level 2 on a server.

Since when does /version exist?

It is in the official command tree since Java Edition 1.21.6.

Related commands