Homebrew tap for Cobrust — a Rust-implemented Python successor with an AI-native compiler.
brew tap cobrust-lang/cobrust
brew install cobrustVerify the install:
cobrust --version # prints v0.6.0
cobrust-lsp --help # LSP server is on PATH
cobrust-dap --help # DAP shim is on PATHUpdates ship as new releases on the main Cobrust-lang/cobrust repo. To pull the latest:
brew update
brew upgrade cobrustThe tap installs prebuilt binaries from the matching Cobrust release. Layout per ADR-0069 (FHS):
bin/cobrust,bin/cobrust-lsp,bin/cobrust-dap— compiler driver, LSP server, DAP shimlib/cobrust/libcobrust_stdlib.a— stdlib static archiveshare/cobrust/runtime/— C runtime sources (cobrust_main.c,cpu_features.c)
| OS | Arch | Variant served |
|---|---|---|
| macOS | Apple Silicon (arm64) | aarch64-apple-darwin-m1 (M1-tuned baseline; M2 users may opt into the m2 tarball manually) |
| Linux | x86_64 | x86_64-unknown-linux-gnu-v3 (AVX2; modern Intel/AMD) |
| Linux | aarch64 | aarch64-unknown-linux-gnu-neon (universal baseline) |
For x86_64-v1 / v4, musl, ARM SVE, or M2-tuned tarballs, install manually from v0.6.0 release assets.
Once cobrust-lsp is on PATH (which brew install cobrust ensures), the official Cobrust extension on Open VSX (VSCode + Cursor + Codium) auto-discovers the LSP server. No further config needed.
The formula auto-bumps via .github/workflows/auto-bump.yml, which polls the main Cobrust repo hourly for new releases and rewrites Formula/cobrust.rb with the new version + per-platform SHA256s (sourced from each release's SHA256SUMS asset). The workflow is also workflow_dispatch-triggerable for an immediate refresh.
A new upstream release (e.g. v0.6.2) is reflected in this tap within roughly one hour, with no manual intervention.
If brew install cobrust fails partway and subsequent retries hang, refuse to redownload, or report an "already in cellar" / lockfile error, Homebrew likely has a stale partial download or lock. Recover with:
brew cleanup cobrust
# If that doesn't clear it, remove stale partial downloads explicitly:
rm -f "$(brew --cache)"/downloads/*cobrust*.incomplete
rm -f "$(brew --cache)"/*cobrust*.incomplete
brew install cobrust # retryFor a full clean reinstall (drops the cellar entry and re-taps):
brew uninstall --force cobrust || true
brew untap cobrust-lang/cobrust || true
brew tap cobrust-lang/cobrust
brew install cobrustIf the install still fails after the cache is clear, please open an issue with brew config + brew install -d cobrust output attached.
- Main repo: https://github.com/Cobrust-lang/cobrust
- Releases: https://github.com/Cobrust-lang/cobrust/releases
- VSCode / Cursor extension: https://open-vsx.org/extension/Cobrust-lang/cobrust
The formula itself is Apache-2.0 OR MIT, matching Cobrust upstream.