Play Chess in the Terminal With GNU Chess
Challenge a classic chess engine without leaving the shell.
Run gnuchess to start a game; enter moves in algebraic notation such as e4.
01Command
Command
$ gnuchess02What 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
!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 ChessEvidence: Official GNU Chess page documenting commands and engine options.
- Debian package: gnuchessEvidence: Installs GNU Chess, a command-line chess engine.
Last verified: 2026-09-20 · Category: Developer
06Related solutions
Update and upgrade packages on Debian/Ubuntu with apt
Refresh the package index from all configured repositories, then install newer versions of every upgradable package.
Search text recursively in a directory with grep
Find every occurrence of a pattern across all files in a tree, printed as file:line:number matches.
Extract a .tar.gz archive with tar
Unpack a gzipped tarball into the current directory while printing each file as it is extracted.