Discover 10 Fun Linux Terminal Games You Can Play Right Now
While many view the Linux terminal as a dull, black‑screen interface, it actually hosts a variety of entertaining games—like 2048, Bastet, Greed, Moon‑Buggy, nInvaders, nSnake, Pacman4Console, Sudoku, Nethack, and Robot Finds Kitten—each installable with simple apt commands and ready for endless idle fun.
Most people think of the Linux terminal as a monotonous, black‑screen command line, but it actually offers many enjoyable games that can keep you entertained during downtime.
2048
2048 is a popular number‑sliding puzzle originally released on GitHub by Gabriele Cirulli and later ported to Linux. The game is written in C (2048.c).
wget //raw.githubusercontent.com/mevdschee/2048.c/master/2048.c
gcc -o 2048 2048.c ./2048Bastet
Bastet is a clone of the classic Tetris game.
sudo apt-get install bastet
bastetGreed
Greed is a terminal‑based snake game with a colorful interface.
sudo apt-get install greed
greedMoon‑Buggy
Moon‑Buggy lets you drive a lunar rover across a moon‑surface, jumping over craters with the space bar and A/L keys.
sudo apt-get install moon-buggy
moon-buggynInvaders
nInvaders is a terminal recreation of the classic Space Invaders arcade game.
sudo apt-get install ninvaders
ninvadersnSnake
nSnake is a console‑based snake game built with nCurses.
sudo apt-get install nsnake
nsnakePacman4Console
Pacman4Console brings the iconic Pac‑Man arcade experience to the terminal; use arrow keys to eat all dots while avoiding ghosts.
sudo apt-get install pacman4console
pacman4consoleSudoku
Sudoku is a logic puzzle that challenges you to fill a 9×9 grid so each row, column, and 3×3 block contains the numbers 1‑9 without repetition. The terminal version offers selectable difficulty levels.
sudo apt-get install sudoku
sudokuNethack
Nethack is a single‑player dungeon‑exploration game reminiscent of Dungeons & Dragons; the goal is to retrieve the Amulet of Yendor and ascend back to the surface.
sudo apt-get install nethack-console
nethackRobot Finds Kitten
This quirky game has you control a robot navigating random characters to locate a hidden kitten, with humorous descriptions for each encountered object.
sudo apt-get install robotfindskitten
robotfindskittenIf these games are not enough, you can install the bsdgames package, which bundles many additional terminal games in one convenient package.
sudo apt-get install bsdgamesMaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
