Lex Logo

LEX CLI

The Elegant Bible Terminal

A high-signal, local-first workbench for the modern student of Scripture. Study, search, and visualize interlinear data directly from your shell.

Get Started

Installation & Updates

Get Lex running in seconds on any platform. Keep your canons and tools sharp with automated updates.

Homebrew (macOS/Linux)

brew tap elcafe7/lex
brew install lex

Python (Pip)

pip install git+https://github.com/elcafe7/lex.git

Windows (Scoop)

scoop bucket add lex https://github.com/elcafe7/scoop-lex
scoop install lex

Stay Up to Date

Sync the latest code and databases with a single command.

lex --update

Study Mode

The primary workbench for deep scriptural analysis. Dig into the original source with surgical precision.

  • Text: Full context and verse reading
  • Original Language: Greek and Hebrew source texts
  • Interlinear: Direct word-for-word alignment
  • Transliteration: Phonetic pronunciation guides
  • Definitions: Strong's and STEPBible lexicon integration

Export Engine: Generate professional study packets as PDF or DOCX directly from your terminal session.

lex study John 3:16
lex — study
Study Mode

Nave's & Reverse Nave's

Lex features a unified Nave's engine. Look up verses by topic (Nave's) or use Reverse Nave's to instantly find every theological topic associated with a specific verse reference.

lex naves truth
lex — naves topic
Nave's Topic: Truth
lex naves John 1:1
lex — reverse naves (verse lookup)
Reverse Nave's (Verse Lookup): John 1:1

Verse Web

Visualize semantic connections powered by the Treasury of Scripture Knowledge.

lex web Romans 1:1
lex — web
Verse Web

Scoped Search

Search all Scripture or narrow down by canon section with surgical precision.

lex search covenant -nt
lex — search
Search Results

Historical Creeds

Instant access to foundational documents like the Nicene Creed.

lex creed nicene
lex — creed
Creeds

Define Terms

Clarify theological terms with integrated dictionaries.

lex define grace
lex — define
Define

Commentary Lookup

Quickly access insights for any verse from integrated commentaries.

lex commentary John 1:1
lex — commentary
Commentary

Multi-Version Library

Switch between modern standards and historical treasures like the 1611 KJV or Geneva Bible.

lex -v
lex — versions
Bible Versions

License & Open Source

Lex is open-source software licensed under the MIT License. Bible databases and Lexicon content are subject to their respective upstream licenses.

View on GitHub
Copied to clipboard!