To use commands in Minecraft, first allow them in your world settings (Allow
Commands in Java Edition, the Cheats toggle in Bedrock Edition). Then open chat,
type a forward slash followed by the command and its arguments, and press Enter.
/time set day, for example, switches to daytime instantly. This guide is written
for Java Edition 26.3 (the Wilderness Bound drop, September 2026) and the current
Bedrock Edition, and it flags the differences that make commands copied from
older guides fail.