Skip to content

en Getting Started

Surfire edited this page Dec 6, 2026 · 2 revisions

← Back to Home · 简体中文

Installation & 1-Minute Setup

This guide covers installing Lumen v0.9.0 on macOS and Windows, 8 native UI languages, first-run hotkey and permission setup, 1-click migration, auto-updates, and preserving macOS permissions across upgrades.


1. System Requirements

Platform Minimum OS Architecture & Native Stack
macOS macOS 14 Sonoma or later Apple Silicon (M1 or newer) · Rust core + native AppKit / SwiftUI
Windows Windows 10 (1809+) / Windows 11 x64 · Rust core + native Win32 / Microsoft Edge WebView2 Evergreen Runtime

2. Installation

macOS

Option A: Direct Download (Recommended)

  1. Download Lumen-macos-arm64.dmg (or .zip) from GitHub Releases.
  2. Optional checksum verification using SHA256SUMS.txt from the same release:
    shasum -a 256 -c SHA256SUMS.txt
  3. Open the disk image and drag Lumen.app into /Applications (or ~/Applications).

First-Launch Gatekeeper Note: Community open-source builds do not carry paid Apple Developer ID notarization. If macOS says the app cannot be verified, clear the quarantine flag once in Terminal:

xattr -dr com.apple.quarantine /Applications/Lumen.app

Option B: Homebrew Cask

brew install --cask --no-quarantine surfire/tap/lumen
  • Upgrade later: brew upgrade --cask --no-quarantine surfire/tap/lumen
  • Full uninstall (including local indexes and preferences): brew uninstall --cask --zap surfire/tap/lumen

Windows

Download either build from GitHub Releases (verify with SHA256SUMS.txt if desired):

Option A: 8-Language Per-User Installer (Recommended)

  • File: Lumen-<version>-win64-setup.exe
  • 8 Native Languages Out of the Box: Both the installer and the app natively ship in English, Simplified Chinese, Traditional Chinese, Japanese, Korean, French, German, and Spanish—auto-matching your OS language (or switch anytime under Settings → General → Language).
  • Zero UAC / No Admin Required: Installs per-user under %LOCALAPPDATA%\Programs\Lumen.
  • Fast Out of the Box: v0.9.0 enables zero-UAC NTFS MFT acceleration and x86_64 AVX2 SIMD automatically, silently falling back to parallel FindFirstFileExW without admin privileges.
  • Supports optional desktop shortcut and launch-at-login (HKCU\...\Run starting lumen-win.exe --background), plus silent switches (/SILENT /CURRENTUSER or /VERYSILENT /CURRENTUSER).
  • Stores index, settings, snippets, clipboard history, scripts, and models in %LOCALAPPDATA%\Lumen.
  • If Microsoft Edge WebView2 Runtime is missing, the installer alerts you; you can also install it via:
    winget install Microsoft.EdgeWebView2Runtime

Option B: Portable Archive

  • File: Lumen-<version>-win64-portable.zip
  • Extract anywhere and run lumen-win.exe — writes nothing to the Windows Registry.
  • Ships with portable.flag (also recognizes lumen.portable) next to the executable, storing the SQLite index, settings, snippets, clipboard history, scripts, and local AI models inside <exe_dir>\data\.

3. Recommended 3-Step First-Run Setup (~1 Minute)

Step 1: Confirm or Customize Your Global Hotkey

  • macOS default: ⌥Space (Option + Space)
  • Windows default: Alt+Space

To take over ⌘Space from Spotlight on macOS:

  1. Open System Settings → Keyboard → Keyboard Shortcuts → Spotlight and uncheck Show Spotlight search.
  2. Open Lumen Settings (⌘,) → General → Global Hotkey, click Record…, and press ⌘Space.
  3. Lumen tests real shortcut registration directly with macOS without pre-banning ⌘Space.

On Windows Remote Desktop (RDP) or if Alt+Space is taken by another launcher, open Settings (Ctrl+,) → General and switch to Ctrl+Space or Alt+Q.

Step 2: Grant Permissions Only When Needed (macOS)

Lumen follows a minimal-permission design. Whole-disk search, previews, Snippets, Dictionary, bookmarks, and currency math work immediately with zero extra permissions.

  • Accessibility: Requested only for Quick Switch (Open/Save dialogs), cross-app Selection Pass-Through & in-place replacement, Window Tiling (win), Snippet auto-paste, and Lock Screen. Approve Lumen under System Settings → Privacy & Security → Accessibility.
  • Full Disk Access (Conditional Guided Setup): Only if Lumen detects unreadable TCC-protected folders during indexing will it display a 1-click guidance banner under Settings → Index and Settings → Status & About linking straight to Full Disk Access (staying hidden when everything is readable).
  • Contacts / Calendar / Reminders: All off by default with zero unsolicited prompts; opt in under Settings → General → Search Sources & Currency.

Step 3: Migrate & Try the Core Workflows Immediately

Lumen builds your filename index in the background within seconds—you can start searching immediately:

  • 1-Click Migration from Alfred / Raycast: Import snippets, quicklinks, folder aliases, and local scripts—or transfer a secret-free Lumen config bundle between macOS and Windows—with preview confirmation before writing (zero API keys or secrets copied).
  • Try these everyday queries right away:
    • Type multi-keyword queries, pinyin initials (Q4 plan pdf, xiangmu, vsc), or structured filters like report s:>10mb m:week (with live Tab autocomplete hints)
    • Highlight any folder, press Tab, and type qa summarize this folder for zero-cloud local folder RAG rendered in Markdown with clickable [1] citations
    • Select any file and press ⌘Y (Windows: Ctrl+Y) for inline preview, or Space for a floating preview window
    • Type ? to explore every built-in command
    • Type $100 to cny or 5 km to mi for instant 0 ms cached FX & unit math
    • Add a template under Settings → Snippets, or optionally enable Gemma 2 / local oMLX / Ollama under Settings → AI & Models

4. Auto-Updates & Preserving macOS Permissions

1. In-App Updates & Release Channels

  • Check manually or let Lumen check every 24 hours under Settings → Status & About.
  • Choose your channel:
    • Stable Only: recommended for daily stability
    • Include Pre-releases (RC / Beta): try upcoming features early
  • macOS: Verified in-place update replaces the running bundle cleanly without leaving duplicate Lumen.app copies.
  • Windows: Verifies HTTPS download size and SHA-256 checksum before launching the per-user installer upgrade.

2. Keep macOS Accessibility Permissions Permanently Across Updates

Ad-hoc signed community builds can prompt macOS to re-authorize Accessibility after an update. Run the bundled local signing helper once in Terminal to create and apply a persistent local certificate (Lumen Local Code Signing):

sh scripts/setup-local-signing.sh /Applications/Lumen.app

Future in-app updates (and source builds using LUMEN_SIGN_IDENTITY="Lumen Local Code Signing") will preserve your Accessibility and folder permissions automatically.


Next Guide: Whole-Disk Search, Pinyin & Folder Scoping →

Clone this wiki locally