[data-reveal]{opacity:1!important;transform:none!important}
workspaces
Frontend

workspaces

List the generated workspaces with their backend, key, size and last use, as a table, tab-separated lines or JSON.

ajs dms workspaces lists the workspaces the CLI generated under ~/.antelopejs/dms-frontend, with the backend each one serves, what it is keyed on, its size and its last use. It runs from any directory.

$ ajs dms workspaces --help
Usage: ajs dms workspaces [options]

List generated workspaces, with their size and last use.

Options:
  --json                 Print the list as one JSON document on stdout
  -h, --help             Show help for a command

Piped, it prints one tab-separated line per workspace, without a header:
id, backend URL, key type (url or project), project directory, size in bytes,
last use (ISO 8601) and workspace directory.

On a terminal

The two workspaces below serve the same backend: the first one ajs dms dev created without -b, keyed on the project it ran in; the second one prepare -b, build -b and start -b share, keyed on the URL. This excerpt keeps only those two entries.

$ ajs dms workspaces
ID         8aa5ac7c
BACKEND    http://127.0.0.1:5050
KEY        project .
SIZE       301 MB
LAST USED  3 min ago

ID         8532f40f
BACKEND    http://127.0.0.1:5050
KEY        url
SIZE       324 MB
LAST USED  6 min ago

In a script

Piped, the command prints one line per workspace and no header: id, backend URL, key type, project directory (empty for a URL key), size in bytes, last use and workspace directory.

$ ajs dms workspaces | cat
8aa5ac7c22b97e8d7908e617d623b874c13d2f61006e2323fd034715c7394b3f    http://127.0.0.1:5050   project /home/user/tmp-docs-frontend-demo   316073675   2026-10-16T11:31:44.479Z    /root/.antelopejs/dms-frontend/8aa5ac7c22b97e8d7908e617d623b874c13d2f61006e2323fd034715c7394b3f
8532f40f0c7c038594796437ed9c4a9cad577d127662d0af25836a278601f518    http://127.0.0.1:5050   url     339652527   2026-10-16T11:28:53.244Z    /root/.antelopejs/dms-frontend/8532f40f0c7c038594796437ed9c4a9cad577d127662d0af25836a278601f518

A workspace takes a few hundred megabytes, mostly its node_modules. Workspaces and cache explains how they are keyed and what they hold; ajs dms clean removes them.