Skip to content
LoopCodeDocs

Get started

Install LoopCode

Install the LoopCode desktop app on macOS, Windows or Linux, the CLI with one command, or the VS Code extension. Requirements, updates and uninstalling.

Requirements

InterfaceRequirements
Desktop appmacOS 13 or newer (Apple silicon or Intel), Windows 10 or newer (x64), or Linux x64
CLImacOS, Linux or Windows 10 (1803) or newer. Node.js 22.18+ is used when present; otherwise the installer brings its own
VS Code extensionVS Code 1.95 or newer and a trusted workspace
AllAn internet connection (the models are hosted) and a LoopCode account — the Free plan works

Optional but useful: git for diffs, worktrees and pull requests, the GitHub CLI (gh) for /pr and GitHub reviews, and Chrome or Chromium for the CLI's browser tools. loopcode doctor tells you what is missing.

Desktop app

macOS

Terminal
curl -fsSL https://loopcode.heksync.in/mac.sh | sh

The installer picks the build for your Mac (Apple silicon or Intel), downloads the latest release, and checks it before anything is installed: its size and SHA-512 against the release manifest, and that it is LoopCode, published by Heksync, with its signature intact. If a check fails, nothing is installed. It goes into /Applications (or ~/Applications when that is not writable) and opens.

OptionEffect
LOOPCODE_APP_DIR=/some/dirInstall there instead of /Applications
LOOPCODE_NO_OPEN=1Don't open LoopCode afterwards

Already have the CLI? loopcode app install does the same thing.

Windows

PowerShell
irm https://loopcode.heksync.in/win.ps1 | iex

The installer checks the download the same way, then installs LoopCode for your user — no administrator rights — and opens it. Installed this way there is no SmartScreen prompt. On a PC with Smart App Control turned on, Windows may still block an app that is not code-signed yet; write to team@heksync.in if that happens.

Linux

Download the AppImage (most distributions) or the .deb package (Debian and Ubuntu) from the download page. The AppImage updates itself; a .deb installation offers the new version as a download.

Updates

The desktop app checks for a new version shortly after it starts and every hour. When one is ready, a card asks you to restart into it, and a Restart to update button stays in the title bar until you do. Your conversations carry over.

CLI

macOS and Linux
curl -fsSL https://loopcode.heksync.in/cli.sh | sh
Windows (PowerShell)
irm https://loopcode.heksync.in/cli.ps1 | iex

The installer puts the CLI in ~/.loopcode/app/<version>/ and a small loopcode launcher in ~/.local/bin (on Windows, your user PATH). If your Node.js is older than 22.18 or missing, it downloads the official Node.js build, checks it against the published checksums, and keeps it in ~/.loopcode/runtime for LoopCode alone. It then starts sign-in. No sudo, no admin rights.

Option (environment variable)Effect
LOOPCODE_BIN_DIR=/some/dirWhere to put the loopcode command (default ~/.local/bin)
LOOPCODE_NO_MODIFY_PATH=1Don't add that folder to your shell profile or PATH
LOOPCODE_NO_LOGIN=1Don't start sign-in at the end
LOOPCODE_NODE=bundledUse LoopCode's own Node.js even when yours is new enough
LOOPCODE_NODE_MIRROR=<url>Download Node.js from a mirror of https://nodejs.org/dist
Example: install for CI without touching the profile
curl -fsSL https://loopcode.heksync.in/cli.sh | LOOPCODE_NO_LOGIN=1 LOOPCODE_NO_MODIFY_PATH=1 sh

Updates

An installed CLI keeps itself current: every hour, a background process checks for a new release and installs it, and the next loopcode you start runs it. loopcode update updates now. Set LOOPCODE_NO_AUTOUPDATE=1 to turn the background updates off.

Shell completion

bash
eval "$(loopcode completion zsh)"     # add to ~/.zshrc
eval "$(loopcode completion bash)"    # add to ~/.bashrc
loopcode completion fish > ~/.config/fish/completions/loopcode.fish

VS Code extension

Install LoopCode (heksync.loopcode) from the Extensions view, or:

bash
code --install-extension heksync.loopcode

Open the LoopCode icon in the activity bar and sign in. See VS Code extension.

Check your installation

bash
loopcode doctor

doctor checks the installation, your sign-in, the connection to LoopCode, and the tools the agent uses (git, the GitHub CLI, a browser), and says what to fix.

Uninstall

CLI — macOS and Linux
curl -fsSL https://loopcode.heksync.in/cli.sh | sh -s -- --uninstall
CLI — Windows
$env:LOOPCODE_UNINSTALL = "1"; irm https://loopcode.heksync.in/cli.ps1 | iex
Desktop app — macOS
curl -fsSL https://loopcode.heksync.in/mac.sh | sh -s -- --uninstall

On Windows, remove the app from Settings → Apps → Installed apps. Uninstalling keeps your conversations and settings in ~/.loopcode; delete that folder too if you want them gone. See Files and folders.