From 4859afcd40dcaf4d6a6b90709bb817875189ba0f Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 1 Dec 2026 20:37:10 -0500 Subject: [PATCH] docs(install): clarify global Socket installs across Node versions Explain how to install Socket globally with npm and restore the command after switching Node versions. Assisted-by: Codex:GPT-6-Luna --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b743999b1..42e827b2a 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ npm install -g socket socket --help ``` +The `-g` flag installs Socket globally. Node version managers such as +[fnm](https://github.com/Schniz/fnm), [mise](https://mise.jdx.dev/), and +[nvm](https://github.com/nvm-sh/nvm) can use separate Node installations. If `socket` +is missing after switching versions, run `npm install -g socket` with that Node +version active. + ## Usage ### Commands