---
title: "axiom flow publish"
description: "Publish a compiled flow to the public marketplace"
category: reference
surfaces: [cli]
related: [reference/cli/axiom-flow]
last_reviewed: 2026-06-06
---

<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
     Source of truth: the cobra command definitions in cmd/axiom/cmd/.
     Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

# axiom flow publish

Publish a compiled flow to the public marketplace

Publish a compiled flow — the artifact id printed by "axiom flow compile" — to
the public marketplace.

Publishing sets the flow's visibility to MARKETPLACE_FREE: every Axiom tenant can
then discover it, fork it, and import it as a subflow. This is CLI parity with the
editor's Publish action.

Publishing is immutable — a published flow cannot be edited or unpublished.
Iterate with "axiom flow compile" (which produces a fresh artifact), then publish
the new artifact when you are satisfied.

```text
axiom flow publish 01J…
axiom flow publish 01J… --yes    # skip the prompt (CI)
```

Requires a prior "axiom login". ADR-086.

## Usage

```sh
axiom flow publish <artifact-id> [flags]
```

## Flags

| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
| `--help` | `-h` | bool |  | help for publish |
| `--json` |  | bool |  | Emit a single JSON result object |
| `--yes` | `-y` | bool |  | Skip the confirmation prompt (for CI and scripted use) |

## See also

- [axiom flow](./axiom-flow.md) — Author and compile flows (graphs of published nodes)
