Repository navigation
Description
Overview
Create a Homebrew tap (homebrew-nodespace) owned by NodeSpaceAI so users can install the full NodeSpace desktop app via brew install --cask nodespace. Start with an own tap for immediate availability; submit to homebrew/homebrew-cask once stable releases exist.
Problem Statement
brew install --cask nodespace is the expected install path for macOS power users and developers who prefer Homebrew for app management. Without a cask, NodeSpace is missing from the most common macOS developer install workflow. The DMG install (#1179) and curl installer (#1182) cover other paths, but Homebrew is the third major channel.
Proposed Solution
Phase 1: Own tap (immediate)
Create github.com/NodeSpaceAI/homebrew-nodespace with a cask formula. Users install via:
brew tap nodespaceai/nodespace
brew install --cask nodespacePhase 2: Official cask submission (after stable releases)
Submit PR to homebrew/homebrew-cask so users can install without the tap step:
brew install --cask nodespaceThe Homebrew cask installs the .dmg artifact from GitHub releases — same binary as the direct DMG download, just managed by Homebrew (auto-update via brew upgrade --cask nodespace).
Acceptance Criteria
-
github.com/NodeSpaceAI/homebrew-nodespacerepo created withCasks/nodespace.rb - Cask formula points to signed
.dmgfrom GitHub releases with correct SHA256 -
brew tap nodespaceai/nodespace && brew install --cask nodespaceinstalls the app on macOS arm64 and x86_64 - Cask includes
zapstanza to cleanly remove~/.nodespace/data onbrew uninstall --zap - CI/CD release workflow updates the cask SHA256 and version automatically on each release
- Cask passes
brew audit --cask nodespacewith no errors - Submitted to
homebrew/homebrew-caskonce two stable releases exist
Technical Specifications
Cask formula (Casks/nodespace.rb)
cask "nodespace" do
version "0.1.0"
sha256 "SHA256_OF_DMG"
url "https://github.com/NodeSpaceAI/nodespace-core/releases/download/v#{version}/NodeSpace-#{version}-universal.dmg"
name "NodeSpace"
desc "AI-native local-first knowledge management"
homepage "https://nodespace.app"
app "NodeSpace.app"
binary "#{appdir}/NodeSpace.app/Contents/Resources/bin/nodespace"
zap trash: [
"~/Library/LaunchAgents/app.nodespace.daemon.plist",
"~/.nodespace/bin",
"~/.nodespace/logs",
]
endNote: zap does NOT include ~/.nodespace/database/ — user data is preserved by default.
CI/CD automation
On each GitHub release, a workflow step:
- Downloads the published
.dmg - Computes SHA256
- Opens a PR to
homebrew-nodespaceupdatingversionandsha256
- name: Update Homebrew cask
run: |
SHA=$(shasum -a 256 NodeSpace-${{ github.ref_name }}.dmg | cut -d' ' -f1)
# update Casks/nodespace.rb via git commit + PRBinary symlink
The cask symlinks nodespace CLI binary so brew install --cask nodespace also puts the CLI on $PATH at /usr/local/bin/nodespace — no separate PATH setup needed.
homebrew-cask submission requirements
- Two stable releases with consistent naming
- Signed and notarized
.dmg(required by Homebrew) - Working
brew audit --caskpass - Homepage at nodespace.app with download link
Dependencies
- Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179 (DMG artifact — cask wraps the same DMG output)
- CI/CD release pipeline must produce signed, notarized
.dmgwith consistent naming
Related Issues
- Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179 (DMG bundling — produces the artifact this cask wraps)
- Shell installer: curl-based headless install for nodespaced and nodespace CLI #1182 (curl installer — parallel install path)
- Publish @nodespaceai/agent-tools as first npm package under @nodespaceai scope #1183 (npm org — parallel distribution channel)
Non-Goals
homebrew/homebrew-coreformula for CLI-only install (follow-on after cask is established)- Linux Homebrew (linuxbrew) support at launch
- Windows Scoop/Chocolatey (future)
Activity
malibio commentedon May 19, 2026
Frontend baseline: 4 failed | 125 passed (pre-existing failures unrelated to this issue)
Add Homebrew tap and cask auto-update CI (closes #1186) (#1189)
Add Homebrew tap and cask auto-update CI (closes #1186) (#1189)