{"version":"1.0.125","anchor":"better-npm-global-installation-detection","canonical_anchor":"better-npm-global-installation-detection","heading":"Better npm Global Installation Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.125\/e\/better-npm-global-installation-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.125","markdown":"### Better npm Global Installation Detection\n\n**What:** Enhanced detection of npm global installations using `npm config get prefix`.\n\n**Details:**\n\n- Adds synchronous `npm config get prefix` command execution as a fallback\n- Detects npm installations in custom prefix locations\n- More reliable than hardcoded path matching alone\n- Handles non-standard npm configurations\n- Improves accuracy of installation type reporting and upgrade suggestions\n- **Evidence**: `G$()` function at line 375878, specifically lines 375897-375898"}