---
title: "Linkbreakers CLI - Command-Line Interface for Links, QR Codes, and AI Agents"
description: "Install the Linkbreakers CLI to manage links, QR codes, and domains from your terminal. Works with any LLM — Claude, Copilot, Cursor, or any AI coding assistant."
canonical: "https://linkbreakers.com/cli"
---

# Linkbreakers CLI - Command-Line Interface for Links, QR Codes, and AI Agents

> Install the Linkbreakers CLI to manage links, QR codes, and domains from your terminal. Works with any LLM — Claude, Copilot, Cursor, or any AI coding assistant.

Linkbreakers CLIWorks with any LLM

# Manage links and QR codes from your terminal, or let your AI do it.

Every Linkbreakers API operation is a CLI command, and an AI agent signs up in one: it gets a workspace and a token, creates its first tracked link and reads analytics in under 10 seconds. Works with Claude Code, Cursor, Windsurf, GitHub Copilot, or any LLM that can run terminal commands.

[Start free with Linkbreakers](https://app.linkbreakers.com?showcase=cli&ref=landing-cli)[Read the full setup guide](https://linkbreakers.com/help/article/linkbreakers-cli-setup)

Install

One command

AI compatible

Any LLM, any terminal

Self-updating

linkbreakers self-update

## Why teams use the Linkbreakers CLI

A fast, scriptable interface for link management — designed for humans, AI agents, and CI/CD pipelines.

### Works with any LLM

Use the CLI with Claude, GitHub Copilot, Cursor, Windsurf, or any AI coding assistant. Every LLM that can run terminal commands can manage your Linkbreakers workspace.

### Sign up in one command

npx -y linkbreakers-cli signup --email you@example.com creates a workspace and saves its token, no account or install needed. You claim the workspace with a code we email you.

### Structured JSON output

Every command outputs structured JSON by default, making it trivially parseable by AI agents, scripts, and CI/CD pipelines.

## Quick setup

Install, authenticate, and start managing your workspace in under 5 minutes.

Step 1

### Install the CLI

Run the one-line installer on macOS or Linux. On Windows, download from GitHub Releases.

Step 2

### Sign up or authenticate

No account? Run linkbreakers signup --email you@example.com for a workspace and a token in one step. Already have one? Set a dashboard token with linkbreakers auth set-token.

Step 3

### Start using it

Run commands like linkbreakers links list, linkbreakers links create, or use it with your favorite AI assistant.

Install

Homebrew · [registry](https://github.com/linkbreakers-com/homebrew-tap)

brew install linkbreakers-com/tap/linkbreakers

Install script (macOS, Linux)

curl -fsSL https://cli.linkbreakers.com/install.sh | bash

npm · [registry](https://www.npmjs.com/package/linkbreakers-cli) · latest [1.185.0](https://www.npmjs.com/package/linkbreakers-cli/v/1.185.0)

npm install -g linkbreakers-cli

Latest release: [v1.185.0](https://github.com/linkbreakers-com/linkbreakers-cli/releases/tag/v1.185.0). Source and releases: [github.com/linkbreakers-com/linkbreakers-cli](https://github.com/linkbreakers-com/linkbreakers-cli)

SDKs

* TypeScript · [npm](https://www.npmjs.com/package/linkbreakers) · [v1.185.0](https://www.npmjs.com/package/linkbreakers/v/1.185.0)  
npm install linkbreakers
* Python · [PyPI](https://pypi.org/project/linkbreakers/) · [v1.185.0](https://pypi.org/project/linkbreakers/1.185.0/)  
pip install linkbreakers
* Go · [Go modules](https://pkg.go.dev/github.com/linkbreakers-com/linkbreakers-go) · [v1.185.0](https://pkg.go.dev/github.com/linkbreakers-com/linkbreakers-go@v1.185.0)  
go get github.com/linkbreakers-com/linkbreakers-go
* Java · [Maven Central](https://central.sonatype.com/artifact/com.linkbreakers/linkbreakers-sdk) · [v1.185.0](https://central.sonatype.com/artifact/com.linkbreakers/linkbreakers-sdk/1.185.0)  
com.linkbreakers:linkbreakers-sdk
* Rust · [crates.io](https://crates.io/crates/linkbreakers) · [v1.185.0](https://crates.io/crates/linkbreakers/1.185.0)  
cargo add linkbreakers

Common commands

List links

linkbreakers links list

Create a link

linkbreakers links create --destination https://example.com

Read analytics

linkbreakers analytics-data get-top-links

Sign up, no account needed

npx -y linkbreakers-cli signup --email you@example.com

## Built for humans, scripts, and AI agents

The CLI outputs structured JSON that any tool can parse — from shell scripts to LLMs.

### AI-powered workflows

Let any LLM create links, check analytics, and manage campaigns by running CLI commands in your terminal.

### CI/CD automation

Create campaign links, verify custom domains, and deploy QR codes as part of your deployment pipeline.

### Shell scripting

Pipe JSON output into jq, awk, or any tool. Bulk-create links from a CSV or monitor domains in a cron job.

## Ready to install the CLI?

Sign up for Linkbreakers, create a workspace token, and start managing links from your terminal.

[Create your workspace](https://app.linkbreakers.com?showcase=cli&ref=landing-cli)

---

Source: https://linkbreakers.com/cli
