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
Start with E2
SDK guides
CLI guides
MCP guides
Applications
Framework quickstarts
Install
terminal
npm install -g @embed-earth/cli-test
e2 --helpThe 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 10Search output is a GeoJSON FeatureCollection. See the search and cache guide for filters and offline behavior.
Command tree
| Command | Purpose |
|---|---|
e2 cell | Encode, decode, and traverse cells. |
e2 search | Search one or more features and areas. |
e2 cache | Manage the local data cache. |
e2 route | Run routes and network analysis. |
e2 compute | Run remote, cached, or local spatial compute primitives. |
e2 storage | Index user-owned datasets locally. |
features, regions, datasets | Discover registry, region, and dataset metadata. |
download, import, import-file, query, stats | Download, import, inspect, and query local data. |
Guides
Search and cacheFilters, local and remote modes, output, and cache operations.RoutingRoutes, matrices, isochrones, map matching, and raw requests.ComputeAll eight primitives over remote, cached, or local data.StorageUpload, import, query, and inspect user-owned data.CatalogsFeatures, regions, datasets, and downloads.CellsEncode, decode, and traverse E2 cell IDs.
