---
title: 'flexkit unlink'
description: 'Remove the link between a folder and its Flexkit project.'
---

# `flexkit unlink`

Removes the link that [`flexkit link`](/docs/cli/link) created: it deletes the nearest `.flexkit/project.json`, and the `.flexkit` folder when nothing else is left in it. The project itself is not changed.

## Synopsis

```bash
flexkit unlink [--yes]
```

## Examples

```bash
# Unlink the current folder (asks for confirmation)
flexkit unlink

# Unlink without a prompt, for example in a script
flexkit unlink --yes
```

## Options

| Option        | Description                    |
| ------------- | ------------------------------ |
| `-y`, `--yes` | Remove the link without asking. |

Without a terminal, `flexkit unlink` refuses to remove the link unless you pass `--yes`. You can also use all [global options](/docs/cli/global-options).


---

[View full sitemap](/docs/sitemap.md)
