CLI

Kaabalah includes a command-line interface for quick calculations without writing code.

Installation

# Install globally
npm install -g kaabalah

# Or run directly with npx
npx kaabalah help

Commands

Command
Description

gematria <text>

Calculate gematria for a word or phrase

gematria:reverse <number>

Find letter combinations matching a gematria value

numerology <date>

Full numerological profile for a birth date

numerology:lifepath <date>

Life path number (kaabalistic method)

numerology:cycles <date> [name]

Personal cycles (year, month, periods)

numerology:challenges <date>

Challenges from birth date

numerology:fibonacci <date>

Fibonacci cycle for current age

astrology <date> [time]

Calculate birth chart using Swiss Ephemeris

tarot [count]

Draw tarot cards (default: 3)

tarot:card <number>

Look up a specific card (1-78)

ifa <date>

Calculate Odu from a date

tree

Show Tree of Life structure with all nodes, data, and edges

tree:node <id>

Look up a node and all its correspondences

tree:types

List all node types and their counts

Examples

Global Flags

Flag
Description

--json

JSON output (auto-enabled when stdout is not a TTY)

--no-json

Force human-readable output even when piped

--compact

Minified JSON (no indentation)

--fields=a.b,c.d

Filter JSON output to specified dot-paths

--input-json='{"key":"val"}'

Pass all parameters as a JSON object

Detailed Command Reference

gematria

Calculate Hebrew letter values for Latin text.

gematria:reverse

Find letter combinations that match a target gematria value.

Flag
Type
Default
Description

--max-results

number

20

Maximum results to return (max 10000)

--min-length

number

2

Minimum letters per combination

--max-length

number

6

Maximum letters per combination

--include-digraphs

boolean

false

Include digraphs like PH, SH

numerology

Full numerological profile from a birth date.

numerology:lifepath

Life path number using the kaabalistic method.

numerology:cycles

Personal cycles (year, month, periods). Optionally pass a first name for soul number calculation.

numerology:challenges

Calculate challenges from a birth date.

numerology:fibonacci

Fibonacci cycle based on current age.

astrology

Calculate a birth chart using Swiss Ephemeris (WASM).

Flag
Type
Default
Description

--lat

number

-

Latitude (-90 to 90)

--lon

number

-

Longitude (-180 to 180)

--location

string

-

Location for geocoding (requires GOOGLE_MAPS_API_KEY)

--house-system

string

placidus

House system (see below)

--timezone

string

-

IANA timezone (e.g. America/New_York)

House systems: placidus, koch, porphyrius, regiomontanus, campanus, equal, whole-sign, meridian, morinus, krusinski, alcabitius

tarot

Draw random tarot cards.

Flag
Type
Default
Description

--inverted

boolean

false

Include inverted cards

--shuffle-count

number

7

Number of times to shuffle the deck

tarot:card

Look up a specific card by number.

ifa

Calculate Odu from a date.

tree

Show the full Tree of Life graph structure — all nodes with their data and edges.

In JSON mode, the output includes nodes (with data and related types) and edges (all connections between nodes).

tree:node

Look up a specific node and all its correspondences. This is the key command for traversing the Tree of Life graph.

Flag
Type
Default
Description

--type

string

-

Filter related nodes by type (e.g. hebrewLetter, planet, tarotArkAnnu)

--depth

number

1

Traversal depth for walking the graph

tree:types

List all node types available in the tree and their counts. Useful for discovering valid type names for tree:node --type filtering.

Schema Introspection

The CLI exposes its full schema as JSON, useful for programmatic consumption.

Error Handling

All errors in --json mode return a structured response:

Exit code is always 1 on error.

Error codes: INVALID_DATE, INVALID_ARGUMENT, MISSING_ARGUMENT, UNKNOWN_COMMAND, CARD_NOT_FOUND, INTERNAL_ERROR, GEOCODE_ERROR, WASM_INIT_ERROR, INVALID_JSON


ko-fiarrow-up-right

Last updated