Re-add macOS Intel (x86_64) support to the Knowns CLI installer
Problem Statement
Running the official install command on a macOS Intel (x86_64) machine aborts immediately:
$ curl -fsSL https://knowns.sh/script/install | sh Knowns CLI Installer ✗ macOS Intel (x86_64) is no longer supported. Please use macOS on Apple Silicon (arm64). This is a hard blocker — the script exits non-zero, no darwin-amd64 (or equivalent x86_64) release artifact is published, and the error message offers no workaround, no deprecation timeline, and no migration path.
Why this matters:
Apple still ships and supports Intel-based Macs (Mac Pro, older MacBook Pros still in service), and uname -m returns x86_64 on those machines — they're a real production audience, not edge cases. Teams in regulated environments, labs, or enterprise fleets often cannot migrate to Apple Silicon on a vendor's timeline. Knowns becomes a non-starter for them until x86_64 darwin is back on the support matrix. macOS itself still supports Intel, so "platform EOL" is not a coherent reason for the CLI to drop it unilaterally. There is currently no documented escape hatch — no source-build instructions, no Rosetta note, no pinned older release. Users on Intel hardware are stuck. Reproduction:
On macOS 15.x, Intel Mac (x86_64)
$ curl -fsSL https://knowns.sh/script/install | sh
exits with the "no longer supported" error above
Proposed Solution
Restore Intel macOS as a supported install target, with a graceful branch in the install script:
Publish a darwin-amd64 (x86_64) release artifact alongside the existing Apple Silicon binary so the install script has something to download for Intel machines. Branch on uname -m in the install script — arm64 → Apple Silicon binary, x86_64 → Intel binary — and reserve the hard error for genuinely unsupported architectures (e.g. Linux on RISC-V, Windows ARM). Don't conflate "old" with "unsupported". Document the support matrix in the README (or a docs/supported-platforms.md) so users can confirm their platform before they run the installer. If x86_64 is genuinely being deprecated, do it responsibly: Print a deprecation warning instead of aborting, for at least one release cycle. Publish a clear EOL version (e.g. "x86_64 darwin will be dropped in v3.0"). Document a temporary workaround in the meantime (build from source, or run under Rosetta with a one-liner). Keep the last x86_64-capable release installable from the script for users pinned to it. Happy to test against a release candidate on an Intel Mac if a build is published.
Alternatives Considered
Alternatives considered — building from source on the Intel Mac (would unblock me today, but isn't a real answer for end users); running under Rosetta 2 (only works on Apple Silicon, doesn't help actual Intel hardware). Environment — macOS 15.x on Intel x86_64, shell zsh, fresh install via the one-liner above.
Examples
No response
Priority
Critical for my workflow
Contribution
- [ ] I would be willing to submit a PR for this feature
Thanks for the detailed report and for offering to test on Intel hardware.
We confirmed that macOS Intel is currently blocked in the installer and that the release pipeline no longer publishes a darwin-x64 artifact.
The immediate blocker is the bundled local ONNX Runtime: upstream stopped publishing prebuilt macOS x86_64 libraries. However, that does not prevent the rest of the Knowns CLI from running on Intel. Knowns can operate without a bundled ONNX library using keyword/BM25 search, while semantic search can still use an API or Ollama provider.
A practical restoration path is:
- publish a
darwin-x64CLI artifact without bundled local ONNX initially; - restore the installer, npm platform package, release tarball, and Homebrew paths;
- disable local ONNX semantic search on Intel with a clear explanation and document the supported alternatives;
- optionally build ONNX Runtime x86_64 from source later if we want full local-semantic parity.
We should also add a documented OS/architecture support matrix and test coverage for the Intel installation path. No timeline is committed yet, but this gives us a viable path that does not require dropping Intel solely because upstream no longer publishes the dylib.