Start
Install
Install the Sofuu CLI with the one-line script or npm, verify platform support, and confirm a healthy binary.
On this page5 sections
Sofuu is distributed as a prebuilt native binary, not as a JavaScript package that runs on Node.js. The installer selects the archive for the current platform, verifies its checksum, and installs the sofuu command.
$ curl -fsSL https://sofuu.xyz/install | shmacOS arm64 and Linux x86_64 / arm64. Verifies the release checksum before installing.
The npm package downloads the native binary for the current platform. Use npx sofuu to run a command without a global install.
Platform support
| Platform | Architecture | Artifact |
|---|---|---|
| macOS | arm64 (Apple Silicon) | Published build |
| Linux | x86_64 | Published build |
| Linux | arm64, including Raspberry Pi 5 | Published build |
These are the platforms covered by published builds. Other targets require a source build and are not validated by the install script.
Requirements
You need a terminal and one of:
curl, for the one-line installer- Node.js and npm, for the npm install path only
The installer and npm package do not install a model. Local vector memory and selected tools work without one; model-backed workflows need a local model and backend or a configured remote provider.
Verify the installation
Run the health check first:
sofuu doctor
doctor checks that the binary starts on this platform, that the QTSQ memory archive is linked, that an encrypted store can complete a write and recall round trip, and that the context limits reported by the build are usable. The exact output varies by build and platform. Read each line: a missing optional component is not the same as failed QTSQ linkage.
Then confirm the version:
sofuu --version
sofuu version
sofuu version prints the runtime version, commit revision (with -dirty when the checkout was modified), QuickJS version, and target architecture. Keep that line with any bug report. sofuu licenses prints the attribution report for Sofuu and the bundled third-party components.
Checksums and direct archives
Release archives ship with a SHA-256 file. To verify a downloaded archive before running it:
sha256sum -c sofuu-<platform>-<arch>.tar.gz.sha256
Direct archives are available from the release downloads for the platforms above. Extract the archive, run the binary, and confirm it with sofuu doctor before replacing an existing install.
If sofuu is not found after installation, start a new shell so the updated PATH is read. Troubleshooting covers a missing binary, a missing model, and provider configuration.
Where to go next
Quickstart
Run a script that touches memory, a native tool, and an agent definition.
First scriptBuild from source
Compile the QTSQ archive and the runtime from the repository.
BuildCLI
The full command surface, grouped by task.
CommandsTroubleshooting
Diagnose install, provider, memory-key, and MCP failures.
Diagnose