Install the CLI
CLI
Terminal window Terminal window Terminal window
Terminal window Terminal window
Terminal window
Terminal window
The CLI is a single binary. Install it with one command for your platform.
Install
Section titled “Install”curl -fsSL https://archcore.ai/install.sh | bashirm https://archcore.ai/install.ps1 | iexInstalls archcore.exe under %LOCALAPPDATA%\Programs\archcore and adds it to your user PATH. Open a new PowerShell window after install so the PATH change is picked up. Requires PowerShell 5.1+ (ships by default on Windows 10/11).
If you prefer a Linux environment on Windows, install WSL and run inside it:
curl -fsSL https://archcore.ai/install.sh | bashInstall options
Section titled “Install options”The install scripts accept three environment variables (same on Unix and Windows):
| Variable | Default (Unix) | Default (Windows) | Purpose |
|---|---|---|---|
ARCHCORE_VERSION | latest | latest | Pin to a specific release tag (e.g. v1.0.0). |
ARCHCORE_INSTALL_DIR | ~/.local/bin | %LOCALAPPDATA%\Programs\archcore | Override the install directory. |
GITHUB_TOKEN | — | — | Authenticate API and download requests (private repos, rate limits). |
ARCHCORE_VERSION=v1.0.0 ARCHCORE_INSTALL_DIR=/usr/local/bin \ curl -fsSL https://archcore.ai/install.sh | bash$env:ARCHCORE_VERSION = 'v1.0.0'; $env:ARCHCORE_INSTALL_DIR = 'C:\tools\archcore'irm https://archcore.ai/install.ps1 | iexVerify
Section titled “Verify”archcore --versionYou should see a version string. If the binary isn’t on your PATH, see troubleshooting.
Update
Section titled “Update”archcore updateThis queries the GitHub release feed, downloads the binary for your OS and architecture, verifies the checksum, and updates in place.
Next steps
Section titled “Next steps”- Quick start — initialize a project and create your first document.
- Commands — the full command reference.