Play Chess in the Terminal With GNU Chess

Challenge a classic chess engine without leaving the shell.

LinuxTerminalTerminal gamesLow risk
Run gnuchess to start a game; enter moves in algebraic notation such as e4.

01Command

Command
$ gnuchess

02What it does

GNU Chess is a strong open-source engine and also a playable text interface. Type a move like e4 or Nf3 to play, use the built-in commands to set the level or ask for a hint, and quit with quit. It can also be driven by graphical front ends.

03Risk

RiskLow risk
Requirementssudo apt install gnuchess
!Warning: Moves must be in standard algebraic notation; an illegal move is rejected without consuming a turn.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • GNU Chess
    GNU · vendor-doc · 2026-09-20
    Evidence: Official GNU Chess page documenting commands and engine options.
  • Debian package: gnuchess
    Debian · vendor-doc · 2026-09-20
    Evidence: Installs GNU Chess, a command-line chess engine.

Last verified: 2026-09-20 · Category: Developer

06Related solutions