> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# nSnake: Play The Classic Snake Game In Linux Terminal
- URL: https://itsfoss.com/nsnake-play-classic-snake-game-linux-terminal/
- Published: 2014-03-10T21:55:53.000Z
- Updated: 2023-02-19T14:09:32.000Z
- Description: The terminal is more fun when you add games to it. Here's how to play the classic snake game in the Linux terminal.
- Author: Abhishek Prakash
- Tags: Gaming 🎮

You know what was the best thing about old Nokia handsets back in early 2000’s? The [Snake Game](https://en.wikipedia.org/wiki/Snake%5F%28video%5Fgame%29?ref=itsfoss.com). I had wasted considerable time on this silly yet addictive game. While the good old Nokia phones are replaced by smartphones today and Snake game is replaced by other silly addictive games such as [Temple Run](https://en.wikipedia.org/wiki/Temple%5FRun?ref=itsfoss.com) etc Snake still has its own charm.

There are several Snake games available on Android, iOS and Web. And one such game is available in Linux terminal as well. Yes, you heard it right, Linux Terminal it is.

## nSnake: Classic Snake game in Linux Terminal

[nSnake](http://alexdantas.net/projects/nsnake/?ref=itsfoss.com) is the Linux terminal version of the classic game developed with [ncurses](https://en.wikipedia.org/wiki/Ncurses?ref=itsfoss.com) by [Alexandre Dantas](http://alexdantas.net/?ref=itsfoss.com). It is available for almost all Linux distributions but in this article we shall see how to install nSnake in Ubuntu and other similar distributions.

To install nSnake in Ubuntu and Linux Mint, open a terminal and use the following command:

```
sudo apt-get install nsnake
```

Once installed, you can use the following command to run the program:

```
nsnake
```

It will start the game in terminal which may look like the following screen. If you wonder why my Ubuntu Terminal looks different than the usual purple one, I am using [Numix theme](https://itsfoss.com/install-numix-ubuntu/) which is one of the [best themes for Ubuntu](https://itsfoss.com/best-icon-themes-ubuntu-16-04/).

![Play Snake game in Linux terminal with nSnake](https://itsfoss.com/content/images/wordpress/2014/03/nSnake_Linux_terminal_game.jpeg)

Playing nSnake is very easy. You can choose the speed of the game as well as whether to keep the borders or not from the start screen. Snake can be controlled using the arrow keys, while you can use P to pause the game and Q to quit the game.

Update: As mentioned by Alexandre, a newer and better version is available on the [Git](https://github.com/alexdantas/nsnake?ref=itsfoss.com).

Do check our list of [best Linux terminal games](https://itsfoss.com/best-command-line-games-linux/), if you like more such games.

[Top 10 Command Line Games For LinuxYou can play games on the Linux terminal. Here are the best command line games for you.![](https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png)It's FOSSAbhishek Prakash![](https://itsfoss.com/content/images/2023/01/best-command-line-games-for-linux.png)](https://itsfoss.com/best-command-line-games-linux/)

What do you think of nSnake? Have you ever tried it before? What other terminal game you play? Do share your views.