Skip to content
GetmeDocs
Sign inCreate account

Getting started

  • Getme developer documentation

API Reference

  • Introduction
  • Authentication
  • Errors
  • Idempotent requests
  • Metadata
  • Pagination
  • Request IDs
  • Versioning
  • Webhooks
  • Event Catalog
  • SDKs and CLI

Core Resources

  • Auth
  • Events

Site Resources

  • Forms
  • Sites

Commerce Resources

  • Brands
  • Categories
  • Products
  • Services

Crm Resources

  • Customers

Other Resources

  • Media

Dev Tools

  • CLIBeta
  • Website source with the CLIBeta
  • Webhooks with the CLIBeta
  • SDKsBeta
  • Node SDKBeta
  • Python SDKBeta

Guides

  • Guides
  • Quickstart
  • Website source workflow
  • Webhook handler

Changelog

  • Changelog
  • June 10, 2026 - Developer platform docs beta
  • July 15, 2026 - Install token lifecycle safety
  • July 15, 2026 - Source-first site development
  • July 15, 2026 - Site source navigation warnings
Loading documentation...
HomeCLICLI

CLI

Beta

Install and use the Getme CLI for authenticated API, commerce, website source, and webhook workflows.

The Getme CLI is the official terminal tool for developer workflows. Use it to authenticate, inspect API resources, sync website source, validate local changes, create previews, and request owner-gated publishes.

Installation

bash
npm install -g @getme-tech/cli

The CLI requires Node.js 20 or newer.

Source code: github.com/getme-tech/getme-cli

First commands

bash
getme auth login --browser
getme auth status
getme products list
getme sites list

For CI or server automation, authenticate with an app-install access token:

bash
getme auth login --api-key gmat_test_...

Keep gmat_* tokens on trusted machines only. Do not commit them, print them in CI logs, or place them in browser-visible code.

Website source workflow

The CLI is designed for safe website development:

bash
getme sites init --name "Custom storefront"
getme sites create --name "Custom storefront"
# Or begin from an existing site:
getme sites pull --site site_...
getme sites check
getme sites push
getme sites preview
getme sites publish-request --message "Ready for review"

sites push saves changes to a development session. It does not publish the live site. sites preview creates a preview for staged changes. sites publish-request creates a request that must be approved and applied in Getme.

For the full guarded flow:

bash
getme sites deploy --message "Homepage update"

sites deploy validates local files, syncs the development session, refreshes a preview, and creates the publish request. Final live publish remains owner-gated.

sites create is the source-first path. It creates a validated standalone draft without requiring a prior live site or base-theme selection.

Common commands

Authentication:

bash
getme auth login --browser
getme auth login --api-key gmat_test_...
getme auth status
getme auth logout
getme auth profiles
getme auth profiles use --profile staging

Commerce:

bash
getme products list
getme products get --product prod_...
getme products create --data '{"name":"Coffee","sku":"COF-001"}'
getme products update --product prod_... --data '{"status":"active"}'
getme products archive --product prod_...
getme categories list --type product
getme brands list
getme services list

Webhooks:

bash
getme webhooks events
getme webhooks trigger --forward-to http://localhost:3000/webhooks --event website.published
getme webhooks listen --forward-to http://localhost:3000/webhooks --port 4242 --secret whsec_...

Utilities:

bash
getme completion bash
getme open --browser
getme config list
getme update check

Global flags

text
--help, -h
--version, -v
--json
--quiet, -q
--no-color

Use --json for scripts and CI. Use --quiet to reduce non-essential output. The CLI respects NO_COLOR=1.

Configuration precedence

Flags take precedence over environment variables, which take precedence over saved config and defaults.

text
GETME_API_KEY=...
GETME_API_BASE_URL=https://api.getmeonline.io/v1
GETME_PROFILE=default
GETME_CONFIG_DIR=/custom/config/dir
GETME_DEVELOPER_PORTAL_URL=https://developers.getmeonline.io
NO_COLOR=1

Local project files

After sites pull, the CLI stores project metadata locally:

text
.getme/
  project.json
  manifest.json
.getmeignore

Project files contain public site, session, revision, and source selection metadata. Raw auth tokens are not stored in project files.

On this page

  • Installation
  • First commands
  • Website source workflow
  • Common commands
  • Global flags
  • Configuration precedence
  • Local project files