Classic Snake in the Terminal With nsnake

Guide a growing snake to eat food without hitting walls or yourself.

LinuxTerminalTerminal gamesLow risk
Run nsnake to play; steer with the arrow keys and press q to quit.

01Command

Command
$ nsnake

02What it does

nSnake is a polished ncurses implementation of the classic snake game, with multiple difficulty levels, a snake database and configurable colors. Controls are simple enough to learn in seconds, which makes it a good break between tasks.

03Risk

RiskLow risk
Requirementssudo apt install nsnake
!Warning: The game uses the terminal in raw mode; make sure the window is large enough or the board may be clipped.

04Undo

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

05Sources

  • alexdantas/nSnake
    GitHub · vendor-doc · 2026-09-20
    Evidence: Documents controls, levels and game modes.
  • Debian package: nsnake
    Debian · vendor-doc · 2026-09-20
    Evidence: Installs nSnake, a classic snake game with a textual interface.

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

06Related solutions