Repository navigation
Description
Overview
Provide a curl | sh installer for users who want NodeSpace as a headless knowledge graph backend without the desktop UI. This is the primary install path for developers and power users who want to use NodeSpace via CLI and AI agent integrations (MCP, skill) without opening a desktop app.
Problem Statement
The DMG install path (#1179) requires the Tauri desktop app. Users who want NodeSpace purely as a backend for AI agent tool access — no UI, just nodespaced running and nodespace CLI available — have no install path. This is a significant gap given that NodeSpace's value proposition includes headless operation (ADR-031).
Proposed Solution
A shell script hosted at https://install.nodespace.app/install.sh (served via Cloudflare) that:
- Detects platform and architecture (macOS arm64/x86_64, Linux arm64/x86_64)
- Fetches the latest release version from GitHub releases API
- Downloads
nodespacedandnodespacebinaries from GitHub release artifacts - Verifies SHA256 checksums
- Installs to
~/.nodespace/bin/ - Registers launchd agent on macOS (same plist as Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179) or systemd user service on Linux
- Starts the daemon immediately
- Prompts (y/n) for PATH, MCP, and skill setup — same three integrations as First-launch onboarding wizard: opt-in PATH, MCP, and skill setup #1180 but terminal-based
Install command
curl -fsSL https://install.nodespace.app | shTerminal prompt flow (mirrors #1180 wizard)
NodeSpace installed to ~/.nodespace/bin/
Add nodespace to your PATH? [Y/n]
Connect NodeSpace to Claude desktop (MCP)? [Y/n]
Add NodeSpace skill to Claude Code? [Y/n]
✓ nodespaced is running
✓ Try: nodespace node list
Uninstall
nodespace uninstall
# or
curl -fsSL https://install.nodespace.app/uninstall.sh | shStops daemon, removes launchd/systemd registration, removes ~/.nodespace/bin/. Does NOT delete ~/.nodespace/database/ (user data preserved by default).
Acceptance Criteria
-
curl -fsSL https://install.nodespace.app | shinstalls both binaries on macOS arm64 - Platform detection covers macOS arm64, macOS x86_64, Linux arm64, Linux x86_64
- SHA256 checksum verified before install — aborts on mismatch
- launchd agent registered on macOS (same plist as Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179); systemd user service on Linux
- Daemon started immediately after install — no reboot/logout required
- Terminal prompts for PATH, MCP, and skill setup (each y/n, all optional)
- PATH prompt appends
~/.nodespace/binto~/.zshrc/~/.bash_profileon confirmation - MCP prompt writes
nodespace mcpentry toclaude_desktop_config.jsonon confirmation - Skill prompt writes
SKILL.mdto~/.claude/skills/nodespace/on confirmation - Idempotent — re-running installer upgrades binaries without duplicating config
-
nodespace uninstallcleanly removes all installed components, preserves user data - CI/CD uploads signed binaries + SHA256 checksums to GitHub releases for each platform
- Install script hosted and versioned (not pinned to
main)
Technical Specifications
Reference Files
scripts/install.sh— new shell installer script (POSIX sh, no bash-isms)scripts/uninstall.sh— uninstall scriptpackages/cli/src/commands/uninstall.rs—nodespace uninstallsubcommand.github/workflows/release.yml— add multi-platform binary build + checksum uploadpackages/daemon/src/main.rs— launchd plist path matches Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179 and Switch nodespaced IPC transport from TCP to Unix Domain Sockets #1176
GitHub release artifact naming
nodespaced-aarch64-apple-darwin
nodespaced-x86_64-apple-darwin
nodespaced-aarch64-unknown-linux-gnu
nodespaced-x86_64-unknown-linux-gnu
nodespace-aarch64-apple-darwin
nodespace-x86_64-apple-darwin
nodespace-aarch64-unknown-linux-gnu
nodespace-x86_64-unknown-linux-gnu
SHA256SUMS
launchd plist (macOS) — same as #1179
Socket path: ~/.nodespace/daemon.sock (from #1176)
DB path: ~/.nodespace/database/nodespace
systemd user service (Linux)
[Unit]
Description=NodeSpace daemon
After=network.target
[Service]
ExecStart=%h/.nodespace/bin/nodespaced
Environment=NODESPACED_SOCKET=%h/.nodespace/daemon.sock
Environment=NODESPACED_DB_PATH=%h/.nodespace/database/nodespace
Restart=on-failure
[Install]
WantedBy=default.targetDependencies
- Switch nodespaced IPC transport from TCP to Unix Domain Sockets #1176 (UDS socket path — used in launchd plist and systemd service)
- Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179 (DMG install — shares same binary artifacts from CI/CD releases)
Related Issues
- Bundle nodespaced and nodespace CLI in Tauri DMG with launchd agent registration #1179 (DMG install path — desktop UI users)
- First-launch onboarding wizard: opt-in PATH, MCP, and skill setup #1180 (onboarding wizard — desktop equivalent of the terminal prompts)
- Settings: Integrations panel for PATH and skill configuration #1181 (integrations settings panel)
Non-Goals
- Windows installer (separate issue)
- Homebrew formula (follow-on after this lands)
- Auto-update via the shell installer (use
nodespace updatesubcommand, future) - Root/system-wide install (user-scoped only:
~/.nodespace/)
Activity
malibio commentedon May 19, 2026
Baseline: 6 failed | 123 passed (129 files), 95 failed | 3826 passed (3921 tests)
Add curl-based shell installer for headless NodeSpace install (closes #…
Add curl-based shell installer for headless NodeSpace install (closes #…