New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@embed-earth/cli-test

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embed-earth/cli-test

The EmbedEarth command-line interface for search, routing, spatial analysis, and local data.

Source
npmnpm
Version
0.1.6
Version published
Weekly downloads
47
-24.19%
Maintainers
1
Weekly downloads
 
Created
Source

@embed-earth/cli-test

The e2 command-line interface for Earth feature search, cache management, Valhalla routing, cloud/local compute, and geospatial storage.

Product: embed.earth · Docs: CLI docs · Docs home

Related interfaces: SDK docs and MCP docs.

The CLI is the terminal interface to the same capabilities exposed by the @embed-earth/sdk-test SDK and the @embed-earth/mcp-test MCP server.

Install

Route commands use https://ov-valhalla.fly.dev by default. Set VALHALLA_URL to override the raw Valhalla service, or set E2_API_KEY and optionally E2_ROUTING_URL to use authenticated hosted routing.

npm install -g @embed-earth/cli-test
earth search restaurant --area Manhattan --limit 100
earth cache set 5GB
earth compute count restaurant --db ./e2.db --near park --distance 500
earth storage upload ./places.geojson --db ./e2.db --connect-to restaurant
earth map sources restaurant hospital

Cell encode/decode and catalog commands are also retained. Use earth --help for the complete command tree. map sources returns MapLibre-ready Planet and published feature PMTiles sources.

Command layout

GroupCommandsPurpose
Searchearth searchSearch features and return GeoJSON
Cacheearth cache set, list, delete, clearManage downloaded snapshots
Routeearth route run, matrix, isochrone, map-match, to-feature, requestRouting and network analysis
Computeearth compute <primitive>, compareCloud, cached, or local spatial analysis
Catalogsearth features, regions, datasetsDiscover and resolve catalog entries
Storageearth storage upload, import, import-file, query, statsWork with local datasets
Mapearth map sourcesResolve MapLibre-ready sources
Cellsearth cell encode, decode, neighbors, and parent/temporal helpersWork with E2 cells

Common options

OptionMeaning
--jsonEmit machine-readable JSON
--area <name>Use a named area
--area-id <id>Use an exact area ID
--mode <cloud|offline|auto>Select the search or compute backend
--db <path>Use a local SQLite database
--limit <number>Bound returned rows

Use --area for a human-readable name or --area-id for an exact catalog ID. You can search available regions and search available features before running a command.

Open-source foundation

The CLI keeps the interface small by composing open-source tools and the EmbedEarth SDK:

ToolRole in the CLI
CommanderCommand parsing, options, and help output
DuckDBLocal analytical query support
SQLiteLocal snapshot and user-data storage
GeoParquetPortable geospatial upload output
EmbedEarth SDKShared search, route, compute, catalog, and map clients

For the equivalent agent-facing interface, see the MCP package. For typed application integrations, see the SDK package.

Keywords

e2

FAQs

Package last updated on 14 Sep 2026

Related posts