Skip to main content

Command Palette

Search for a command to run...

Origin

Install the CLI

macOS, Linux and Windows (WSL)

Install the Origin CLI with a single command:

curl -fsSL https://downloads.cursor.com/origin/install.sh | sh

The installer puts the binary at ~/.local/bin/origin. If your shell says command not found: origin (for example zsh: command not found: origin), add that directory to your PATH.

For zsh:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrcsource ~/.zshrc

For bash:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrcsource ~/.bashrc

Verification

After installation, verify that the Origin CLI is working correctly:

origin --version

Sign in

Sign in to your Cursor account:

origin auth login

Complete the browser flow with the Cursor account that has Origin access.

Signing in also sets up the git credential helper, so git push and git pull against Origin remotes work without further setup.

Manage repositories

The CLI can create and delete Origin repositories, so you do not have to open the web UI:

origin repo create my-projectorigin repo delete acme/my-project

origin repo create without a slash creates the repository in your account's namespace. origin repo delete always takes the full org/name.

Cursor agents can drive the same commands. Ask the agent to store a project on Origin and it can install the CLI, sign in, create the repo, set the remote, and push.

For every command and flag, see the command reference and pull request commands.

Updates

To update the Origin CLI to the current release:

origin update

Next steps