# node_runtime: Expose standalone system Node discovery \(\#64928\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/afecd6d719aad92aecfa2860f49c4f2956708831)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: afecd6d719aad92aecfa2860f49c4f2956708831

Requested commit: afecd6d719aad92aecfa2860f49c4f2956708831

Commit: afecd6d719aad92aecfa2860f49c4f2956708831

Tree: 20209929f77ad20dd757ccbc728712eac428cc6c

Author: Ben Brandt

Committer: GitHub

## Message

```
node_runtime: Expose standalone system Node discovery (#64928)

Expose `SystemNode::discover` so callers can locate and validate Node
without also requiring npm or initializing Zed's cache. It accepts a
configured executable or an explicit search PATH, preserves the Node 22
minimum, and reports typed lookup, execution, and version errors with
guidance.

Zed's existing system runtime reuses the validation before its existing
npm setup. Configured overrides and PATH order remain authoritative.
Selected paths are made absolute without resolving symlinks, and
absolute executables remain usable after the process's working directory
is removed. Managed downloads and npm policy are unchanged.

Release Notes:

- N/A
```

## Parents

- [decbf641b18f1982b3475c037e7c5c554471574f](https://git.cafe/gitcafe/zed/commit/decbf641b18f1982b3475c037e7c5c554471574f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/afecd6d719aad92aecfa2860f49c4f2956708831?format=markdown)
