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

# init

> Initialize cuse in an existing project

## Usage

```bash theme={null}
npx @cusedev/cli init [options]
```

## Description

The `init` command initializes cuse in your current project directory. It creates a configuration file (`cuse.config.yml`) and sets up the necessary proxy server for managing virtual computers.

## Options

| Option    | Alias | Description                                                          |
| --------- | ----- | -------------------------------------------------------------------- |
| `--force` | `-f`  | Force the initialization process, overwriting existing configuration |
| `--yes`   | `-y`  | Skip confirmation prompts                                            |

## Interactive Configuration

The command will prompt you for:

1. Project name (defaults to current directory name)
2. Project description (optional)

## Example

```bash theme={null}
# Basic initialization
npx @cusedev/cli init

# Force initialization, overwriting existing config
npx @cusedev/cli init --force

# Initialize without prompts
npx @cusedev/cli init --yes
```

## Output

After successful initialization, you'll see:

* Confirmation of configuration file creation
* URLs for accessing your computers:
  * API endpoint: `http://localhost:4242/<computer-name>`
  * noVNC interface: `http://localhost:4242/<computer-name>/novnc/`
  * VNC endpoint: `http://localhost:4242/<computer-name>/vnc/`
