Skip to content

Getting Started

devxian edited this page Nov 30, 2026 · 11 revisions

English | 한국어

Getting started

Follow this page to install cozzle, open your first workspace, and start an agent in a terminal.

1. Install

Download from Releases (macOS)

If Releases is empty, the first release has not been published yet. In that case, build from source.

The release app is a universal app for Apple silicon and Intel. It needs macOS 12 or later.^release

The recommended way is the install script. It puts cozzle.app in /Applications (or ~/Applications) and clears the download quarantine flag, so macOS opens cozzle without a warning:^install

curl -fsSL https://raw.githubusercontent.com/teamBuzzle/cozzle/main/scripts/install.sh | sh

Or with Homebrew:

brew install --cask teambuzzle/cozzle/cozzle

To install from the dmg instead:

  1. Download cozzle-<version>-macos-universal.dmg (or the .zip) from Releases.
  2. Open the dmg and drag cozzle to the Applications folder.
  3. Open cozzle once. The app is not signed with an Apple Developer ID, so macOS blocks it. On macOS 15 and later, right-click → Open no longer gets past this.
  4. Go to System Settings → Privacy & Security and click Open Anyway. Or run:
xattr -dr com.apple.quarantine /Applications/cozzle.app

To check the download, compare it with SHA256SUMS.txt from the same release:

shasum -a 256 cozzle-*-macos-universal.dmg

The release app includes the cozzle command (cozzle-cli). Releases and versioning explains how releases are made.

Download from Releases (Linux)

Releases have cozzle-<version>-linux-x86_64.tar.gz and cozzle-<version>-linux-aarch64.tar.gz. They are built on Ubuntu 24.04, so they need glibc 2.39 or later, and the browser tab needs WebKitGTK 4.1 (libwebkit2gtk-4.1-0 on Debian and Ubuntu).^release

The install script picks the file for your CPU, checks it against SHA256SUMS.txt, puts cozzle and cozzle-cli in ~/.local/bin, and adds a menu entry in ~/.local/share/applications:^install

curl -fsSL https://raw.githubusercontent.com/teamBuzzle/cozzle/main/scripts/install.sh | sh

To update, run the command again. On Linux the update card shows Download, which opens the new .tar.gz; cozzle does not replace its own files.

Download from Releases (Windows)

Download cozzle-<version>-windows-x86_64.zip, unzip it anywhere and run cozzle.exe. Keep cozzle-cli.exe next to it so the cozzle command works in cozzle terminals. The binaries are not code-signed, so SmartScreen may warn on first launch: choose More info → Run anyway.^release

These builds are not tested regularly yet, and some features are macOS-only, for example filling saved browser logins.

Build from source

You need:

  • A Rust toolchain. cozzle uses edition 2024, so you need Rust 1.85 or later.
  • git. The Git graph, Source Control, Search and the file list colors all call git.
  • curl. cozzle uses it to download commit author avatars and Claude usage. The app works without it.
git clone https://github.com/teamBuzzle/cozzle.git
cd cozzle
cargo build --release

The build creates two binaries in target/release/:^readme

File Purpose
cozzle The app
cozzle-cli The cozzle command used in cozzle terminals. It must be in the same folder as the app binary

During development, run the app with cargo run -- <folder>. cargo run rebuilds only the app, so run cargo build again after you change the cozzle command.

To build a macOS app bundle:

cargo install cargo-bundle
cargo bundle --release
cp target/release/cozzle-cli target/release/bundle/osx/cozzle.app/Contents/MacOS/

Without the last line, the cozzle command does not work in that app's terminals.

For day-to-day development on macOS, scripts/bundle-dev.sh does all of this in one step:

scripts/bundle-dev.sh release                # builds, makes target/release/cozzle.app, ad-hoc signs it and opens it
scripts/bundle-dev.sh                        # same for a debug build (target/debug/cozzle.app)
  • The script assembles the bundle like the release workflow (both binaries, icon, Info.plist, localizations) and signs it ad-hoc with assets/macos/cozzle.entitlements.
  • Run as a bare binary (cargo run, target/*/cozzle), macOS shows permission prompts, the Full Disk Access list and file dialogs without the cozzle name, icon or your system language, and cozzle keeps alerts in its own notification list instead of sending system notifications.
  • Set COZZLE_BUNDLE_NO_OPEN=1 to only build the bundle.
  • Re-signing changes the ad-hoc signature, so macOS may ask for permissions again after a rebuild.
  • An ad-hoc signed bundle sends notifications through the older macOS notification API; turn them on under System Settings → Notifications → cozzle when macOS asks.

Browser tabs use the operating system's web view: WKWebView on macOS, WebView2 on Windows and WebKitGTK on Linux. cozzle is developed and used daily on macOS. Windows and Linux builds are not tested regularly yet. See FAQ for platform differences.

2. Run

Open cozzle from the Applications folder. If you built it yourself, pass folders as arguments:

# One folder
./target/release/cozzle ~/dev/my-app

# Several folders. Each becomes a workspace
./target/release/cozzle ~/dev/my-app ~/dev/my-api
  • Arguments that do not exist or are not folders are skipped.
  • With no folder, cozzle restores the last session. If there is no last session, it opens the current folder.

3. Open your first workspace

  1. Click New workspace in the left sidebar, or press ⌘N (Ctrl+Shift+N outside macOS).
  2. Choose a folder. cozzle creates the workspace and opens a terminal tab in that folder.
  3. Run claude or codex in the terminal. The agent starts with knowledge of the cozzle command. See AI agents.

Session restore

cozzle saves its state to ~/.config/cozzle/session.json every 10 seconds and when it quits. When you start it again with no folder, it restores:^session

  • Workspaces and whether they are collapsed, plus the last workspace and tab you viewed
  • Tab types, custom names and order
  • The working folder of each terminal
  • The address of each browser tab (http and https only)
  • The file of each editor tab
  • The panes of each workspace: their tabs, directions and sizes
  • The width and visibility of both sidebars
  • Claude Code and Codex sessions that were running in terminals. cozzle runs claude --resume <id> or codex resume <id> in the same tab.

cozzle skips workspaces whose folder was deleted and editor tabs whose file was deleted. Terminals reattach to the terminal host when it still runs them; otherwise cozzle starts a new shell. Shell history is not restored. To learn how browser sign-ins are kept, see Browser.

Updating cozzle

When a new version is out, the update card shows Update Now. The update does not interrupt your work:^update

  1. Click Update Now. cozzle downloads the release for your Mac's architecture (-macos-arm64.zip or -macos-x86_64.zip, about half the size of the universal zip; releases without them fall back to the universal zip), checks it against SHA256SUMS.txt and its signature, and replaces the app in place while you keep working.
  2. The card then shows Update ready · Restart. Click Restart now, or Apply on Quit to get the new version the next time you start cozzle.
  3. On restart, cozzle opens the new version where you were: everything in Session restore, plus unsaved editor text, the editor cursor, the right panel and settings tab, and the last 1,000 lines of each terminal, shown dimmed above the new prompt.

Terminals keep running through the restart. Shells, dev servers and Claude Code or Codex sessions stay alive in a terminal host, and the new version reattaches to them. See Terminal → Terminals survive restarts.

If you turned the terminal host off, cozzle lists the programs that will stop before it restarts. Checked commands, such as npm run dev, run again in the same tab, and Claude Code and Codex sessions resume.

A source build (target/…) does not update itself. Its card offers Open Installed App when cozzle is installed, or Install, which runs the install script in a new terminal tab.

On every update card (up to date, new version, installing, ready, the list of programs that will stop, failed, source build), the buttons sit at the bottom right, and the main one, such as Update Now, Restart or OK, is the rightmost.

Next: Workspaces and tabs

Clone this wiki locally