From ed062cc4579e1d8fada7499307311aa97f43aa2c Mon Sep 17 00:00:00 2001
From: Corey Butler <770982+coreybutler@users.noreply.github.com>
Date: Mon, 23 Nov 2026 12:57:36 -0600
Subject: [PATCH] docs: document shim same-volume hardlinks and symlink
fallback
Note that shim mode needs .shim and proxy.exe on the same volume (or
Developer Mode for file symlink fallback), and that the Help Enabling
Symlinks toast also covers that path (nvm#1570).
Signed-off-by: Corey Butler <770982+coreybutler@users.noreply.github.com>
---
docs/features/modes.md | 4 +++-
docs/features/notifications.md | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/features/modes.md b/docs/features/modes.md
index 323366f..567d9e9 100644
--- a/docs/features/modes.md
+++ b/docs/features/modes.md
@@ -57,6 +57,8 @@ Shim mode offers a new, streamlined developer experience. When compared with Lin
Most users won't notice or feel the impact of shim latency, making shim mode recommended for most users.
+Shim executables under `.shim` are hard links to `proxy.exe`. Hard links require the **same volume** for Node storage (`root` / InstallRoot) and the NVM data directory that holds `.shim`. If the hard link cannot be created (for example, Node on `D:` and NVM on `C:`), NVM tries a **file symlink** instead. That fallback needs [Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) or `SeCreateSymbolicLinkPrivilege` (same requirements as [link mode](#link-mode) UNC symlinks). If both fail, `nvm install` / `nvm reshim` fail and roll back rather than leaving a broken `npm`/`npx` PATH. Keep `root` on the same drive as NVM, switch to link mode, or enable Developer Mode.
+
Shim mode features:
- Auto-use pinned versions via `.nvmrc`, `.node-version`, `package.json`, or other custom runtime config files.
@@ -96,7 +98,7 @@ Windows has a "universal latency tax". It uses [`CreateProcessW`](https://learn.
|Node.js / V8 permission lockdown|:x:|:heavy_check_mark:
_Governance_|
|Package manager cooldown|:x:|:heavy_check_mark:|
|Per-command execution logging|:x:|:heavy_check_mark:|
-|Special Permissions
|[`SeCreateSymbolicLinkPrivilege`](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/create-symbolic-links)
_for [UNC path](https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths) symlinks_|None
|
+|Special Permissions
|[`SeCreateSymbolicLinkPrivilege`](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/create-symbolic-links)
_for [UNC path](https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths) symlinks_|None for same-volume hardlinks; symlink privilege / Developer Mode only if `.shim` and `proxy.exe` are on different volumes
|
[^1]: Latency is predominantly from Windows `CreateProcessW` universal latency tax. The shim executable only adds ~1-3ms latency.
diff --git a/docs/features/notifications.md b/docs/features/notifications.md
index 305950e..5bfee7b 100644
--- a/docs/features/notifications.md
+++ b/docs/features/notifications.md
@@ -120,7 +120,7 @@ These use Notification Center when the NVM process is **not** in the foreground:
| `nvm alias add` | _(empty)_ | "<name>" now refers to vX.X.X |
| `nvm alias remove` | _(empty)_ | <count> alias(es) removed successfully. |
| `nvm pin` | _(empty)_ | Success text for `.nvmrc` / `package.json` engines updates |
-| Symlink failure (Developer Mode off) | Help Enabling Symlinks | Button: **Open Developer Settings** |
+| Symlink failure (Developer Mode off) — link mode UNC, or shim hardlink→symlink fallback | Help Enabling Symlinks | Button: **Open Developer Settings** |
## Sync and security notifications