
Search Z-Library and download books directly from Raycast.
brew install heartleo/tap/zlib-cli
winget install heartleo.zlib
zlib login in your terminal)The Homebrew formula was renamed from zlib to zlib-cli (the command is still zlib). If you installed the old formula, brew upgrade will not replace it. Replace it once:
brew list zlib | grep -q bin/zlib && brew uninstall zlib
brew install heartleo/tap/zlib-cli
/opt/homebrew/bin/zlib on macOS, zlib.exe on PATH on Windows)~/Downloads)zlib doctor --eapi)The search runs through the zlib CLI, and its results can differ from the Z-Library website (the website sometimes has books the CLI does not return). The last row of the results, Search "..." on the Z-Library website, opens the website's own search for your query in your browser. It uses your Z-Library Domain Override if set, otherwise the domain of the results.
Note: These shortcuts use
⌘on macOS andCtrlon Windows.
If a search fails with EAPI search failed: Access denied, your zlib CLI is out of date. Z-Library changed its search API in November 2026, and CLI versions before 0.0.16 can no longer search (login, profile and downloads keep working, which makes it look like a login problem). Check your version and upgrade:
zlib version
brew upgrade zlib-cli # macOS (see Requirements if you installed the old `zlib` formula)
winget upgrade heartleo.zlib # Windows
If you see "failed to fetch book" errors, your saved Z-Library session may be using a blocked domain. Run this in Terminal:
zlib doctor --eapi
Look for domains marked "healthy", then set one in the extension's Z-Library Domain Override preference (⌘+K, Ctrl+K on Windows).
MIT
Search Z-Library and download books
Review and bulk-download books you've saved for later
zlib to zlib-cli; updated the install command and added one-time instructions for replacing the old formulaAccess denied search error caused by zlib CLI versions older than 0.0.16zlib.exe from PATH instead of the macOS Homebrew paths when running on Windowswinget install heartleo.zlib) in the README⌘ on macOS, Ctrl on Windows) so the actions are reachable by keyboard on Windows