axon clone
Download one published module version as an editable local project.
axon clone @axon/arxiv
axon clone @axon/arxiv@0.1.4
axon clone @axon/arxiv ./my-arxiv
axon clone retrieves the registry source artifact exactly as published. It
does not create a Git repository, configure a remote, remember an upstream, or
support pull and merge operations. Use Git for history and collaboration.
With no destination, Axon creates a directory using the module's package name:
axon clone @axon/arxiv
# → ./arxiv
The destination must be absent or empty. Axon runs axon prepare after
extracting, so the cloned project is immediately type-ready. It is otherwise a
normal module: edit it and publish it only if you own its package namespace.
To use a module in an agent without editing its source, use
axon install instead.
Options
| Flag | Default | Description |
|---|---|---|
--dir <path> | the artifact's bare name | Directory to clone into |
--json | false | Print one line of JSON to stdout and nothing else |