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

# appz link

> Learn how to link a local directory to an Appz Project using the `appz link` CLI command.

export const GlobalOptionsComponent = ({command}) => <div>
    <h2><a href="#global-options">Global Options</a></h2>
    <p>These general options can be applied when using the <code>{command}</code> command:</p>
    <ul>
    <li><code>--cwd</code></li>
    <li><code>--debug</code></li>
    <li><code>--global-config</code></li>
    <li><code>--help</code></li>
    <li><code>--local-config</code></li>
    <li><code>--no-color</code></li>
    <li><code>--scope</code></li>
    <li><code>--token</code></li>
    </ul>

    <p>For detailed information on these global options and their applications, refer to the <a href="/cli/global-options">options section</a>.</p>
    </div>;

## Usage

```bash terminal theme={null}
appz link
```

> Using the `appz link` command to link the current directory to an Appz Project.

## Extended Usage

```bash terminal theme={null}
appz link [path-to-directory]
```

> Using the `appz link` command and supplying a path to the local directory of the Appz Project.

## Unique Options

These options are specific only to the `appz link` command.

### Yes

Using the `appz link` command with the `--yes` option to skip questions you are asked when setting up a new Appz Project. The questions will be answered using the default scope and the current directory for the Appz Project name and location.

```bash terminal theme={null}
appz link --yes
```

<GlobalOptionsComponent command={'appz link'} />
