Solve LeetCode without leaving the terminal.
All 4,013 problems live on your own disk, so the board answers while you type.
iInstall
curl -fsSL https://raw.githubusercontent.com/Nano-AI/leetui/main/install.sh | sh
Read it first. That goes for every install script.
brew tap Nano-AI/tap && brew trust nano-ai/tap && brew install leetui
brew trust is Homebrew's gate on third party taps.
go install github.com/Nano-AI/leetui/cmd/leetui@latest
Building the current source requires Go 1.26.5 or newer. The binary lands in $(go env GOPATH)/bin unless GOBIN is set. Add that directory to your PATH if leetui is not found.
macOS, Linux and Windows builds are on Releases. One static file.
Run leetui, then press S to sync. Press a to sign in for your solved status and Premium content.
Session
Every frame is the program, not a mockup. The silent recording shows searching for tree, browsing companies and study plans, then opening a problem.
Scroll captures sideways to see the full screen. With a keyboard, focus a capture and use the arrow keys.
Local
- 4013problems
- 989company lists
- 17study plans
- 0network calls to search
/Find
Titles, tags and full statements, searched on the local index — no network call, so it answers while you type.
eSolve
e opens your editor in a tmux pane beside the statement, and saving re-runs the tests. Below is that split, photographed: leetui on the left, Neovim on the right holding the real file.
sSubmit
There are no spinners in leetui. A pending verdict is a flap held mid flip.
Accepted commits itself. Pushing asks first.
?Keys
Every binding on one screen, behind ?.
Doctor
Session cookies go to the OS keychain, never to disk.
leetui doctor reports what this machine is missing before you sync.