> ## Documentation Index
> Fetch the complete documentation index at: https://getfloo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# clone

> floo clone: check out the repository of an app floo hosts, with push access.

Clone the repository of an app floo hosts (one made with [`floo deploy --hosted`](https://getfloo.com/docs/cli/deploy)) and configure credentials only in that repository. It replaced `projects clone`; `projects create` is now `floo deploy --hosted`, and `projects list` is `floo apps list`.

Usage: `floo clone <APP> [DIR]`. `DIR` defaults to the app name.

It runs `git clone` and sets a repository-local git credential helper: `credential.helper` points at the floo binary, and `credential.useHttpPath=true`. Tokens are minted per git operation, scoped to that one repository, expire in an hour, and are never stored. Do not run `gh` or edit the remote. `floo deploy` in the clone pushes and deploys.

Requires floo CLI v2026.11.09 or later (`floo update`). Clones made with `projects clone` keep working.

## Flags

| Flag | Description |
| - | - |
| `--json` | Output as JSON |

## Example

```bash theme={null}
floo clone my-app ./my-app
cd my-app
cat AGENTS.md
```

To move the app to a GitHub repository you own, use [`floo connect owner/repo`](https://getfloo.com/docs/cli/connect).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.