# Getting started

> Install Porticol, send a first request, save it to a collection and find your way around.

Canonical: https://porticol.app/docs/getting-started

[View as Markdown](https://porticol.app/docs/getting-started.md)

Commands: `New request`, `New collection`, `Save`, `Close tab`, `Settings`, `Open sample`, `Show tour`

Porticol is a desktop app for sending, testing and sharing API requests. It needs no account and works offline: what you make stays on your computer until you sync or share it.

## Install

On a Mac, install it in the terminal:

```sh
curl -fsSL https://porticol.app/install.sh | sh
```

The script is short. `curl -fsSLO https://porticol.app/install.sh` fetches it and `sh install.sh` runs it, so it can be read first; the same text is at `https://porticol.app/install.sh.txt` if your browser would rather download the script than show it. It copies Porticol into your Applications folder, or `~/Applications` when it cannot write `/Applications`, and opens the app. Add `--no-open` after `--` to only install.

It also installs `porticol-cli`, the command line and [MCP server](https://porticol.app/docs/mcp), into the first of `/usr/local/bin`, `/opt/homebrew/bin` and `~/.local/bin` it can write. Without Homebrew that is usually `~/.local/bin`, which macOS does not put on your `PATH`; the script prints the line to add when that happens, such as:

```sh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
```

To install a version that is not the newest, add `-s -- --version 0.1.0` after `sh`, with the version you want; `--no-cli` after `--` leaves the command line out.

With Homebrew, `brew install --cask pavanmanishd/porticol/porticol` installs the app, and the app keeps itself up to date; `brew upgrade --greedy` replaces it with a later cask when one is published. The cask does not install `porticol-cli`; the `curl` command does, or take it from the [download page](https://porticol.app/download#cli).

On Linux, the same `curl` command installs the AppImage. On Windows, run `irm https://porticol.app/install.ps1 | iex` in PowerShell. The setup, the AppImage and the packages are also on the [download page](https://porticol.app/download). Porticol checks for a new version when it starts and once a day, and asks before it installs one.

To connect Claude Code, Cursor, Codex or VS Code after install, follow [AI agents](https://porticol.app/docs/ai-agents).

## The first launch

The first time Porticol opens, it offers three ways to start:

- **Connect a coding agent** finds Claude Code, Cursor, Codex or VS Code on this computer, shows the exact lines it would add to the agent's settings, and adds them only when you click **Add Porticol**. It then waits for the agent's first call.
- **Bring my Postman work** imports a collection or environment and opens its first request.
- **Try the sample** adds requests to public test APIs over HTTP, GraphQL, WebSocket, SSE and gRPC, a run set up from a data file, a mock server and a protected Production environment. Sending them reaches the internet.

**Start empty** leaves the workspace empty. Nothing asks you to sign in: an account is asked for only when you invite someone, sync or share.

After the sample or a first agent call, a tour of two steps follows: Send, and Agent activity, where every call an agent makes is recorded. You can skip it at either step.

An empty workspace keeps the same three ways close by: **Connect a coding agent**, **Open the sample** and **Read the guide** sit under **New request**, and a cURL command pasted there opens as a request. The command palette has **Open the sample collection** and **Show the tour again** for later.

## Send a request

Shortcuts here use Mod, which is Command on macOS and Ctrl on Windows and Linux.

1. Press Mod+T, or choose **New request** in the command palette. A request opens in a new tab.
2. Type a URL, such as `https://httpbin.org/get`, and choose the method beside it.
3. Press Mod+Enter to send it.

The response appears beside the request. [The workbench](https://porticol.app/docs/workbench) describes what it shows.

## Save it in a collection

A collection holds folders and requests. Press Mod+S, or choose **Save** in the palette. A request that isn't in a collection yet asks for a name and the collection to save it in, or the name of a new one. To make an empty collection first, press Mod+N or choose **New collection…**.

A tab with unsaved edits asks before it closes. Press Mod+W, or choose **Close tab**, to close the tab you are in.

## The command palette

Press Mod+K to open the command palette. Type to search requests, collections, environments and history, or the name of a command. A first character narrows the search to one kind:

| Type | To search |
| --- | --- |
| `>` | Commands |
| `/` | Requests |
| `@` | Environments |
| `#` | History |

Tab moves from one kind to the next. Mod+P opens the palette on requests alone, to go to a request by name. Requests are found by name, URL, body and scripts, and history by URL.

Every command in the palette is described in these pages. **Open settings**, or Mod+comma, opens Settings.

## Where to go next

- [The workbench](https://porticol.app/docs/workbench): the sidebar, tabs, the response, history and importing.
- [Sending requests](https://porticol.app/docs/sending-requests): environments, variables, scripts and auth.
- [Collection runner](https://porticol.app/docs/collection-runner): run a whole collection with a data file.
- [Sync](https://porticol.app/docs/sync): sign in to share collections and environments with your team.
