# install

## Usage

```bash
bdy agent install [options]
```

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-s, --start [true|false]` | Start agent right away (default: "true") |
| `-i, --id <id>` | Start existing agent |
| `-t, --token <token>` | token to authorize existing agent agent or token to add a new agent |
| `-p, --port <port>` | Agent API port (default: "7456") |
| `-u, --user <user>` | OS user name. Default: root (macOS/Linux), LocalSystem (Windows. Provide as DOMAIN\USER (use `whoami` to get full username) |
| `-a, --app` | Starts bdy agent as standalone process |
| `--pass <password>` | Password of the user. Only set for Windows |
| `--target` | Makes the agent available as a target |
| `--proxy` | Makes the agent available as a proxy |
| `--no-tunnels` | Stop all tunnels from working in agent |
| `--tag <tag...>` | Tag agent. Can be passed multiple times |
| `-d, --debug` | Turns on debug mode |
| `-h, --help` | display help for command |


---
Original source: https://buddy.works/docs/cli/agent/install