Public beta — not for production use. Data may be wiped at any time. Questions? Contact us.
Documentation menu

axiom publish

Publish a pushed package to the public marketplace

View as Markdown
<!-- 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 publish

Publish a pushed package to the public marketplace

Publish a pushed package to the public marketplace.

Publishing flips a package you previously deployed with "axiom push" from tenant-private to publicly visible. The package must already be pushed and owned by your tenant; publishing deploys nothing new.

Making a version public is immutable — you cannot unpublish or overwrite it. Iterate privately with "axiom push" (which may overwrite the same version), then publish when you are satisfied.

axiom publish my-handle/my-package@0.1.0
axiom publish my-handle/my-package@0.1.0 --yes   # skip the prompt (CI)

Requires a prior "axiom login".

Usage

axiom publish <package>@<version> [flags]

Flags

FlagShorthandTypeDefaultDescription
--help-hboolhelp for publish
--yes-yboolSkip the confirmation prompt (for CI and scripted use)

See also

  • axiom — Axiom CLI — build and push node packages
Related