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

Lex is local-first and ships with several hundred MB of runtime data. The reliable install path is a full Git checkout plus the setup script.

Full Git Install

git clone https://github.com/elcafe7/lex.git
cd lex
./setup.sh

Requirements

Python 3.12 or newer. The setup script creates a repo-local virtual environment and installs the lex wrapper into ~/.local/bin.

Stay Up to Date

Update application code from Git, then re-run setup. Refresh runtime data separately when needed.

git pull
./setup.sh
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!