# ocloud link

Source: https://olef.dev/docs/reference/ocloud/link

Generated from **ocloud 3.17.3**. [All ocloud commands](https://olef.dev/docs/reference/ocloud) · [Olef Cloud overview](https://olef.dev/docs/cloud/overview) · [`olef` commands](https://olef.dev/docs/reference/commands)

Link this project folder to a cloud workspace or host pool (`--on`)

Global options (`--org`, `--project-root`, `--quiet`, `--redact`) apply across commands; see the [`ocloud` command catalog](https://olef.dev/docs/reference/ocloud#global-options).

## ocloud link

Link this project folder to a cloud workspace (or host pool via `--on`)

```bash
ocloud link --help
```

| Argument | Description |
| --- | --- |
| `<path>` | The project root (default: the current folder) |
| `--name` | Workspace name (default: the folder name) |
| `--no-browser` | Don't open the approval page; print its URL |
| `--no-wait` | Return at once with the approval URL; run `ocloud link` again after approval |
| `--preview` | Only show what would upload; create nothing |
| `--template` | Workspace template: `android` (default), `general`, or `web` |
| `--on` | Where the new workspace lives: `cloud` (default) or `host:<pool>[/<host>]` |
