🔍

Authentication

geoserver login

Authenticate with your GeoServer workspace and store a local session token.

Stable
geoserver login [workspace] [flags]
FlagDescription
-u, --userUsername for workspace authentication
-p, --passwordAPI key or password (prompts if omitted)
--envTarget environment (dev, staging, prod)
Example
geoserver login mapping-prod -u admin --env production
geoserver logout

Clear locally stored authentication tokens and session data.

Stable
geoserver logout [flags]
FlagDescription
--allClear tokens for all configured workspaces
Example
geoserver logout --all

Projects & Workspaces

geoserver project create

Initialize a new geospatial project with default layer groups and rendering configs.

Stable
geoserver project create [name] [flags]
FlagDescription
--templateProject template (base-map, vector-tiles, raster-pipeline)
--workspaceTarget workspace ID
--srsDefault coordinate reference system (e.g., EPSG:4326)
Example
geoserver project create us-transport --template vector-tiles --srs EPSG:3857
geoserver project list

Display all active projects with status, layer count, and storage usage.

Stable
geoserver project list [flags]
FlagDescription
--jsonOutput results in JSON format
--statusFilter by status (active, paused, syncing)
Example
geoserver project list --status active --json

Deployment & Layers

geoserver deploy

Publish configured layers, styles, and services to the target environment.

Stable
geoserver deploy [project] [flags]
FlagDescription
--forceOverwrite existing layers without confirmation
--dry-runValidate deployment config without pushing changes
--layersComma-separated list of specific layers to deploy
Example
geoserver deploy urban-planning --layers roads,buildings,parcels
geoserver rollback

Revert layers and configurations to a previous deployment version.

Stable
geoserver rollback [project] [flags]
FlagDescription
--versionSpecific deployment hash or timestamp to revert to
--confirmSkip interactive confirmation prompt
Example
geoserver rollback urban-planning --version v2.4.1 --confirm

Data Ingestion & Sync

geoserver data ingest

Import spatial datasets (GeoJSON, Shapefile, GeoTIFF, PostGIS) into the workspace.

Stable
geoserver data ingest [path] [flags]
FlagDescription
--formatSource format override (geojson, shp, tif, pg)
--srsInput coordinate reference system
--batchProcess large files in chunks for memory efficiency
Example
geoserver data ingest ./satellite/radar_2024.tif --format tif --batch
geoserver data sync

Update existing layers with new data from connected sources or scheduled pipelines.

Stable
geoserver data sync [layer-id] [flags]
FlagDescription
--fullReplace entire dataset instead of incremental update
--waitBlock until sync completes and validate checksums
Example
geoserver data sync layer-8f2a --wait

Configuration & Status

geoserver config set

Update instance settings, cache policies, and OGC service parameters.

Stable
geoserver config set [key] [value] [flags]
FlagDescription
--globalApply setting across all workspaces
--reloadTrigger service restart after applying changes
Example
geoserver config set wms.max_width 4096 --reload
geoserver status

Check system health, active connections, layer render counts, and cache hit rates.

Stable
geoserver status [flags]
FlagDescription
--verboseShow detailed node metrics and thread pools
--watchStream live metrics to terminal
Example
geoserver status --watch
No commands match your search. Try different keywords or clear the filter.