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

# CLI

The Membrane CLI lets you manage integrations, run actions, and sync configuration from your terminal.

## Install

```bash theme={null}
npm install -g @membranehq/cli
```

## Authenticate

```bash theme={null}
membrane login
```

## Commands

### Setup

Authenticate, check status, and navigate your workspace.

| Command           | Description                              |
| ----------------- | ---------------------------------------- |
| `membrane login`  | Authenticate with Membrane               |
| `membrane logout` | Clear stored credentials                 |
| `membrane status` | Show current workspace status            |
| `membrane open`   | Open a resource in the browser (Console) |
| `membrane search` | Search Membrane resources                |

### Connect

Create and manage connections to external apps.

| Command                       | Description                                              |
| ----------------------------- | -------------------------------------------------------- |
| `membrane connect`            | Create a new connection to an external app               |
| `membrane connection`         | Manage existing connections (list, get, ensure, archive) |
| `membrane connection-request` | Manage connection requests (OAuth flows)                 |

### Act

Run actions and make API requests through connections.

| Command            | Description                                    |
| ------------------ | ---------------------------------------------- |
| `membrane action`  | Run or manage actions (list, get, create, run) |
| `membrane request` | Make an HTTP request through a connection      |

### Workspace Management

Sync your workspace configuration between Membrane and local files.

| Command         | Description                                     |
| --------------- | ----------------------------------------------- |
| `membrane pull` | Pull configuration from Membrane to local files |
| `membrane push` | Push local configuration to Membrane            |
| `membrane diff` | Show differences between local and remote       |
