LinuxCommandLibrary

lexy

CLI for reading Learn X in Y Minutes tutorials in the terminal

TLDR

Read a tutorial for a programming language
$ lexy [language]
copy
List all available languages
$ lexy list
copy
Force update the local documentation cache
$ lexy update
copy

SYNOPSIS

lexy [options] [language]

DESCRIPTION

lexy is a lightweight CLI tool that fetches programming tutorials from "Learn X in Y Minutes" directly into your terminal. It allows you to quickly search, learn, and reference code examples without leaving your workflow.
Tutorials are cached locally in $HOME/.config/lexy and automatically updated every 60 days. Output includes syntax highlighting using bat, with a default Catppuccin Mocha color palette that can be customized via config.toml.

CAVEATS

Requires an internet connection for the initial download and periodic updates. Depends on bat for syntax highlighting and fzf for fuzzy search.

HISTORY

lexy was created by antoniorodr and is written in Rust.

SEE ALSO

tldr(1), cheat(1), bat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard