Skip to content

Homebrew tap and cask: brew install --cask nodespace #1186

Closed

Description

@malibio

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 nodespace

Phase 2: Official cask submission (after stable releases)

Submit PR to homebrew/homebrew-cask so users can install without the tap step:

brew install --cask nodespace

The 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-nodespace repo created with Casks/nodespace.rb
  • Cask formula points to signed .dmg from GitHub releases with correct SHA256
  • brew tap nodespaceai/nodespace && brew install --cask nodespace installs the app on macOS arm64 and x86_64
  • Cask includes zap stanza to cleanly remove ~/.nodespace/ data on brew uninstall --zap
  • CI/CD release workflow updates the cask SHA256 and version automatically on each release
  • Cask passes brew audit --cask nodespace with no errors
  • Submitted to homebrew/homebrew-cask once 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",
  ]
end

Note: zap does NOT include ~/.nodespace/database/ — user data is preserved by default.

CI/CD automation

On each GitHub release, a workflow step:

  1. Downloads the published .dmg
  2. Computes SHA256
  3. Opens a PR to homebrew-nodespace updating version and sha256
- name: Update Homebrew cask
  run: |
    SHA=$(shasum -a 256 NodeSpace-${{ github.ref_name }}.dmg | cut -d' ' -f1)
    # update Casks/nodespace.rb via git commit + PR

Binary 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 --cask pass
  • Homepage at nodespace.app with download link

Dependencies

Related Issues

Non-Goals

  • homebrew/homebrew-core formula for CLI-only install (follow-on after cask is established)
  • Linux Homebrew (linuxbrew) support at launch
  • Windows Scoop/Chocolatey (future)

Activity

  1. malibio commented on May 19, 2026

    @malibio
    CollaboratorAuthor

    Frontend baseline: 4 failed | 125 passed (pre-existing failures unrelated to this issue)

  2. self-assigned this
    on May 19, 2026
  3. added a commit that references this issue on May 19, 2026
    7df168b
  4. added a commit that references this issue on Jun 22, 2026
    ebb70b6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions