E2 from the terminal

Search Earth features, manage local data, add routing, run remote or local compute, and index user-owned data from one command tree.

Documentation navigation

Install

terminal
npm install -g @embed-earth/cli-test
e2 --help
The executable is e2. Add the global --json option for machine-readable output. The CLI requires Node 20 or newer.

First search

terminal
e2 search restaurant hospital --area "Manhattan" --area "Brooklyn" --limit 500

e2 --json search restaurant --area Manhattan --limit 10

Search output is a GeoJSON FeatureCollection. See the search and cache guide for filters and offline behavior.

Command tree

CommandPurpose
e2 cellEncode, decode, and traverse cells.
e2 searchSearch one or more features and areas.
e2 cacheManage the local data cache.
e2 routeRun routes and network analysis.
e2 computeRun remote, cached, or local spatial compute primitives.
e2 storageIndex user-owned datasets locally.
features, regions, datasetsDiscover registry, region, and dataset metadata.
download, import, import-file, query, statsDownload, import, inspect, and query local data.

Guides