How do I install the CLI and pair it with my workspace?
One install command, then context-code login prints a pairing code you approve in the workspace. Sessions land in your task list.
The installer downloads the current release, verifies it against the SHA-256 in the public manifest, and puts context-code on your PATH (macOS and Linux; Windows through WSL 2). Running context-code login prints a pairing code and an approval link; approving it in the workspace provisions the CLI's agent and mints a key named after the device. Nothing is pasted into the terminal.
From then on, each session runs on your machine with your files and shell, appears in the workspace task list, and bills to your account like any other task. context-code update pulls the next checksum-verified release. Full guide: Context Code.
Written for developers. Last reviewed 2026-09-15.
Related questions
Still need an answer?
Tell us what you were looking for and we reply within one business day.
Contact the team →Running a security review?
Documents, controls, and the request form live in the Trust Center.
Open the Trust Center →