---
title: CLI
published: true
tier: free
index: 0
---

# CLI

Run `npx glue-fast <command>` with Node.js 24 or newer. The installed binary is `glue`. In the examples, `PROJECT` is a full Glue project URL and `SITE` is its Glue installation origin.

| Command | Result |
| --- | --- |
| `login --site SITE` | Opens device approval and saves the customer login. Owners and admins can also approve publishing. |
| `login --site SITE --save SLUG/APP` | Requests device approval to save results to one app. |
| `login --site SITE --install-only` | Prints an install-only credential for CI. |
| `token --site SITE` | Prints the saved customer token for a client's secret settings. |
| `logout --site SITE` | Removes the local login and publishing credential. Revoke the device in Glue to disable other copies. |
| `install-skills PROJECT` | Installs available authored skills. Use `--skill NAME` to select one, `--version VERSION` to pin the release. |
| `install-plugin PROJECT` | Installs the project's plugin for `--agent codex` or `--agent claude`. |
| `init-ci PROJECT` | Writes a customer workflow for the release's declared GitHub Action task. Select another declared task with `--task NAME`. |
| `docs --project PROJECT` | Lists readable page titles. Add `--page SLUG` to read a page. |
| `search --project PROJECT --query TEXT` | Returns documentation search matches. |
| `ask --project PROJECT --question TEXT` | Submits a question to the enabled hosted agent. |
| `mcp --project PROJECT` / `mcp-config --project PROJECT` | Starts the Content MCP stdio bridge or prints its client configuration. |
| `mcp --site SITE` / `mcp-config --site SITE` | Starts the Author MCP stdio bridge or prints its client configuration. |
| `sync --project PROJECT` | Reapplies the latest published release to the site. Uses `GLUE_TOKEN`. |
| `publish --project PROJECT --branch BRANCH --commit SHA` | Publishes the full commit SHA. Uses `GLUE_TOKEN`. |

**Publisher CI.** In the connected repository, run `node glue.mjs init-ci --project PROJECT` with the standalone publishing CLI. Setup copies this self-contained file into the generated workflows. Add `--set-secret` to save the GitHub publishing secret. [Download the publishing CLI](../developer/downloads/download-cli.md)

Install commands also accept `OWNER/REPO`. Use `--free` for available free content, `--premium` for the paid setup flow, and `--no-browser` to print access links. Compatibility names are `add-skill` for `install-skills` and `add-plugin` or `add-agent` for `install-plugin`. The lower-level `add OWNER/PACKAGE --site SITE --version VERSION --format FORMAT` installs a package artifact. [Credentials](../author/credentials.md) · [GitHub Actions](../../guides/skills/publish-a-task.md)
