CLI-Chess: Enjoy Chess Anywhere with Terminal Play

Here is a piece of software that will appeal to people who are both chess fans and command line lovers. We all know those moments when we’re stuck at work, not much to do, and we really want to relax with a game of chess without leaving our terminal so as not to get grilled by colleague Thierry. Well, I found exactly what you need: CLI-Chess!

CLI-Chess is such an experience that you will think you are Anya Taylor-Joy after 5 minutes. You can play online with your account or offline against the AI called Fairy-Stockfish.

And to install it, you just need to run the following command:

pip install cli-chess

What’s great about CLI-Chess is that you can customize the look of your chessboard and pieces by choosing from the available themes. Additionally, CLI-Chess is compatible with Linux, Windows, and macOS, so you can enjoy this chess experience no matter your computer.

If you are a beginner at chess, don’t worry, CLI-Chess is very accessible and easy to learn.

To start an online game with your account, use the command:

cli-chess lichess PSEUDO MOTDEPASSE

To play offline against the Fairy-Stockfish AI, simply use the command:


In addition to customizing the appearance of your chessboard, you can also configure AI settings, such as difficulty and thinking time. This will allow you to adapt it to your level and improve gradually. CLI-Chess also allows you to replay the game via Lichess TV or even play blind for the most nervous among you.

CLI-Chess is, therefore, an excellent way to practice your game in an environment that reassures you 😉 or in complete discretion.

If this appeals to you, you can discover it here.

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1276

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *