# axon setup

Source: https://usecns.dev/axon-topic-axon-setup/

[Start here](https://usecns.dev/manual-axon/)
[CLI commands](https://usecns.dev/commands-axon/)
[Configuration & integration](https://usecns.dev/axon-topics/)

```
axon setup [--yes] [--json]
```

Detects source languages using the configured scan universe and offers local semantic-server
setup for TypeScript/JavaScript, Vue, PHP, Go and Rust. Interactive consent is per proposal
(`y`, default `N`, or `all` for explicit yes-to-all). `--yes` is the noninteractive yes-to-all
contract. Without a terminal or `--yes`, setup skips proposals without installing, prompting,
or changing configuration. Accepted servers install only into `.axon/tools` when missing;
existing language entries are not overwritten. No index is built. JSON stdout contains
`command`, `changed`, `detectedLanguages`, and `enrichers` (`language`, `status` of `enabled`,
`declined`, or `already-configured`). Prompts/install output go to stderr; setup/install errors
exit 1. Vue 3 uses the standalone 2.2.12 configuration, not a 3.x tsserver/plugin bridge.
See [LSP configuration](https://usecns.dev/axon-topic-configure-discovery-and-boundaries/) for the settings setup writes,
and [`axon index`](https://usecns.dev/axon-cli-index/) for how accepted servers affect indexing.