---
title: "unlink"
description: "Remove project link from current directory"
canonical: "https://pgbeam.com/docs/cli/projects/unlink"
last-updated: "2026-10-30T13:45:52.000Z"
---

# unlink

> Remove project link from current directory

URL: https://pgbeam.com/docs/cli/projects/unlink

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

Remove the project link from the current directory by deleting the `.pgbeam` configuration file. After unlinking, commands that require a project will need the `--project` flag or a new `pgbeam link`.

## Usage

```bash
pgbeam unlink
```

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# Unlink the current directory
pgbeam unlink
```

## Output

Prints a success message if a link was removed, or a warning if no project was linked.