Command Line Interface

Contracts from
your terminal

Create, manage, and sign contracts without leaving the command line. JSON output for scripts, CI/CD pipelines, and LLM tool use.

Open source
Cross-platform
JSON output

Install in seconds

One command. No dependencies beyond Node.js 18+. The installer also adds the global contractsign-cli skill for Codex, Claude Code, and compatible agents.

macOS / Linux

Terminal

curl -fsSL https://contractsign.net/install.sh | sh

Windows

PowerShell

irm https://contractsign.net/install.ps1 | iex

Get started in 3 steps

From install to signed contract in under a minute.

1

Authenticate

Opens your browser to sign in and saves a long-lived API key locally.

contractsign auth login
2

Create a contract

Start from scratch or use a template. Edit content in your $EDITOR.

contractsign contracts create --title "Service Agreement"
3

Send for signing

Add signers with SMS OTP authentication and send invitations. MitID can be enabled per workspace.

contractsign signing send --contract <id> --signers signers.json

Full command reference

Every feature of the web app, available in your terminal.

Auth

auth loginAuthenticate via browser
auth logoutRemove credentials
auth whoamiShow current status

Contracts

contracts listList with filters
contracts createCreate new contract
contracts edit <id>Edit in $EDITOR
contracts pdf <id>Download as PDF

Templates

templates listList templates
templates createCreate template
templates show <id>View details
templates delete <id>Delete template

Signing

signing sendSend for signing
signing status <id>Check progress
signing cancel <id>Cancel request
signing remind <id>Send reminder

Organization

folders list --treeShow folder tree
folders createCreate folder
tags listList all tags
tags createCreate tag

Utilities

import pdf <file>PDF to markdown
updateUpdate CLI version
--jsonJSON output flag
--helpShow help

Built for automation

Every command supports --json for machine-readable output. Perfect for CI/CD pipelines, scripts, and LLM tool use.

CI/CD pipelines
Shell scripts
LLM tool use
$ contractsign contracts list --json
{
  "data": [{ "id": "cm4x...8f", "title": "Service Agreement" }],
  "total": 3,
  "hasMore": false
}

Ready to get started?

Requires Node.js 18+ on macOS, Linux, or Windows. Free account included.