Installation
ShipGate’s Tier‑1 path is: install the CLI → run shipgate next on pull requests in Next.js App Router repos → NO_SHIP should fail CI once you configure the job as a required check in your repo (start advisory if you prefer). Copy-paste commands (pinned): docs/quickstart.md. See also Supported path (Tier-1).
Network / data (Tier‑1): shipgate next does not send your source to ShipGate’s servers or require a ShipGate login. Other commands (scan, dashboard, opt-in analytics) have different rules — data handling.
Prerequisites
- Node.js 18 or later
- npm, pnpm, or yarn
Install the CLI
Install the published CLI globally (pin matches the ShipGate repo quickstart):
npm install -g @shipgate.dev/cli@3.0.0Or with pnpm:
pnpm add -g @shipgate.dev/cli@3.0.0Verify the installation:
shipgate --versionWhen using the published CLI you’ll use shipgate; when running from source (e.g. pnpm --filter @isl-lang/cli exec isl ...) the binary may be available as isl.
Project-level installation
For team projects, install as a dev dependency so everyone uses the same version:
npm install --save-dev @shipgate.dev/cli@3.0.0Then add scripts to your package.json:
{ "scripts": { "verify": "shipgate verify", "gate": "shipgate gate", "lint:isl": "shipgate lint specs/" }}Initialize a project
Run the interactive setup to create your project configuration:
shipgate initThis creates:
.shipgate.yml— project configurationspecs/— directory for your ISL specification files.github/workflows/shipgate.yml— CI workflow (if GitHub is detected)
For a specific template:
# Minimal setup (just config + one example spec)shipgate init --template minimal
# Full setup (config, examples, CI, team policies)shipgate init --template full
# API-focused setup (REST API specs with OpenAPI generation)shipgate init --template apiGenerate specs from existing code
If you already have source code, ShipGate can generate ISL specs from it:
# Generate specs from a source directoryshipgate init --from-code ./src
# Generate specs with AI enhancement (requires ANTHROPIC_API_KEY)shipgate init --from-code ./src --aiVS Code extension
Install the ShipGate ISL extension for syntax highlighting, inline diagnostics, and verification commands:
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X) - Search for “ShipGate ISL”
- Click Install
See the VS Code extension guide for details.
What’s next?
- Quickstart (repo) — Tier‑1 Next.js + GitHub
- Quick Start — optional ISL spec tutorial
- Your First Spec — learn ISL by writing a real specification