Publishing makes your template available to anyone with access to the Anesis registry. You point the CLI at a GitHub URL, and the backend does the rest — it fetches the directory tree, reads your manifest, and creates the registry entry.
Both anesis template publish and anesis template update require a saved login session.
Run anesis login before publishing. The CLI sends your auth token with the request so the backend can associate the template with your account. See the Authentication page for details on the login flow.
Pass the GitHub URL of your template directory. Both repo root and subdirectory URLs are accepted.
# Publish a template whose manifest is at the repo root
anesis template publish https://github.com/owner/repo
# Publish a template in a subdirectory
anesis template publish https://github.com/owner/repo/tree/main/templates/react-vite-tsPublish and update both accept the same visibility flags.
--visibility <public|private|org-private> — defaults to public when omitted.--credential-id <uuid> — required to read a private GitHub repository during publish.--org-id <uuid> — legacy organization target, kept only for backwards compatibility.# Publish a private repo, referencing a stored GitHub credential
anesis template publish https://github.com/owner/repo \
--visibility private --credential-id <uuid>When you push new changes to your GitHub repo, run update to sync the registry entry with the latest commit.
# Update an existing registry entry
anesis template update https://github.com/owner/repo/tree/main/templates/react-vite-tsanesis template publish.anesis template install or anesis template update.The CLI and backend work together to register your template.
anesis.template.json from the published path, and validates the manifest.The CLI validates the URL locally before sending it to the backend.
github.com — other Git hosts are not supported.owner/repo./tree/<branch>/<path> URL format — the same URL shown in your browser when you navigate into a folder.