Logo
Chess Analyzer Pro
ReleasesDocsBlogDownload

Chess Analyzer Pro

Free offline chess analysis software powered by Stockfish.

Project

  • GitHub Repository
  • Download
  • Documentation
  • Open Source Credits
  • Report Feedback/Bug

Content

  • Blog
  • Documentation
  • Features

Resources

  • Stockfish Engine
  • Beekeeper Studio
  • My Lichess Profile
  • My Chess.com Profile

Developer

  • Portfolio
  • GitHub Profile
  • LinkedIn
  • Contact Me
Released under the MIT License. Open Source Project.
Back to Blog
June 1, 20264 min read

How to Set Up and Configure Stockfish for Local Analysis

A practical guide to downloading, configuring, and tuning Stockfish for use with Chess Analyzer Pro. Covers threads, hash memory, analysis depth, and Multi-PV settings.

How to Set Up and Configure Stockfish for Local Analysis

I remember the first time I tried to set up a chess engine.

Download a binary. Figure out which build matches your CPU. Point the GUI to the right file. Configure threads and hash without really knowing what they do.

It's not hard once you understand it. But nobody explains it well.

Let me fix that.


Downloading Stockfish

Go to stockfishchess.org/download/. You'll see builds for Windows, macOS, and Linux.

Windows: Download the .exe file. If your CPU supports AVX2 (most Intel Core 4th-gen and later, all AMD Ryzen), choose the AVX2 build. If you're not sure, use the "modern" build. It's slightly slower but works everywhere.

macOS: Choose the Apple Silicon build if you have an M1/M2/M3/M4 Mac. Choose the BMI2 or modern build for Intel Macs.

Linux: Same as Windows. AVX2 if supported, modern otherwise.

No installer needed. The binary is a single file. Put it somewhere permanent like C:\ChessEngines\ (Windows) or ~/chess/ (macOS/Linux).


Connecting It to Chess Analyzer Pro

Open the app. Go to Settings via the sidebar. Click Engine Settings.

You'll see:

  • Stockfish Path: Click "Browse" and select the Stockfish binary you downloaded.
  • Test Engine: Click this button. If it turns green with a checkmark, the app found Stockfish and it works. If it turns red, the path is wrong or the binary isn't compatible.

That's the minimum setup. You can stop here and start analyzing.


Threads

Stockfish uses your CPU cores. More threads = faster analysis.

The setting is in Engine Settings → Threads. Range is 1 to however many threads your CPU supports.

Default: 4 threads.

Why 4? Most laptops have 4-8 performance cores. Setting it higher can cause overheating on thin laptops. This was actually a bug fix. Earlier versions defaulted higher, and users reported their laptops getting uncomfortably hot during long analysis sessions. 4 threads is a safe balance between speed and temperature.

If you have a desktop with good cooling, feel free to increase this. Each additional thread helps, but the gains shrink past 8 threads.


Hash Memory

Hash is the memory Stockfish uses to store positions it has already evaluated. More hash can speed up analysis of complex positions, but it competes with other applications for RAM.

Default: 64 MB.

Recommended: 256 MB to 1024 MB if you have 8+ GB of RAM.

Hash only matters during a single analysis session. Once you close the app, it's gone. So don't set it higher than what you can spare. Leave enough RAM for your OS and browser.


Analysis Depth

Depth controls how far ahead Stockfish looks. Depth 18 means the engine searches 18 half-moves (9 full moves) ahead, with pruning and extensions.

Range: 10 to 25.

Default: 18.

When to go deeper: Endgame positions, correspondence analysis, or when you want really thorough evaluation of a critical position.

When to stay shallow: Opening positions with many pieces, or when you're analyzing a whole game and don't want to wait 10 minutes.

Doubling the depth roughly squares the search time. Depth 22 can take 3-5x longer than depth 18.


Multi-PV

Multi-PV controls how many alternative moves Stockfish shows for each position.

Range: 1 to 5.

Default: 1 (only shows the best move).

Setting Multi-PV to 3 or 4 shows you the top 3-4 engine suggestions. This is useful for understanding what alternatives you had and why the engine prefers the line it does.

The trade-off: each additional line splits the engine's search budget. Multi-PV 4 at depth 18 takes roughly 4x as long as Multi-PV 1.


Live Analysis Time

When you're navigating through a game, the app runs a "live analysis" on the current position. This setting controls how long the engine spends per position during live mode.

Default: 2 seconds.

Range: 0.5 to 10 seconds.

Higher values give deeper analysis but make the board feel sluggish when you move through the game. 2 seconds is a good balance.


The Default Configuration (and Why It Exists)

The defaults in Chess Analyzer Pro are deliberately conservative:

SettingDefaultWhy
Threads4Prevents laptop overheating
Hash64 MBSafe for systems with 4 GB RAM
Depth18Good balance of speed and accuracy
Multi-PV1Fastest for full game analysis
Live time2sResponsive when browsing moves

If you have a powerful desktop, you can safely increase all of these. If you're on a MacBook Air, the defaults are fine.


Testing Your Configuration

After changing settings, click Test Engine in Settings. The app runs a quick benchmark. It sends Stockfish a position and checks that it responds correctly.

This doesn't measure speed. It just confirms everything is wired up properly.


Links

  • Download Chess Analyzer Pro: chess-analyzer-ut.vercel.app/releases
  • Stockfish Downloads: stockfishchess.org/download/
  • GitHub Repository: github.com/imutkarsht/Chess_analyzer