npm / npm/documentation

Outdated "Upgrading on Windows" - default installation path `C:\Program Files (x86)\nodejs`

Open Beginner friendly
#1,997 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
712
Forks
4.2k
Avg merge
4d 16h
Merged PRs (30d)
3

Description

Description

On Windows 11 25H2, installing a 64-bit Node.js release, defaults to C:\Program Files\nodejs, not C:\Program Files (x86)\nodejs.

The location C:\Program Files (x86)\nodejs, referred to in the documentation as the default installation path for Node.js, is only used for legacy 32-bit installations. Node.js 22 is the highest release line to still support a 32-bit x86 architecture on Windows.

Potential Solution

Regarding the default installation path for Windows:

  • add C:\Program Files\nodejs for 64-bit installation
  • remove C:\Program Files (x86)\nodejs or describe it as default for legacy 32-bit installations only

URL

https://docs.npmjs.com/try-the-latest-stable-version-of-npm#upgrading-on-windows

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the “Upgrading on Windows” section at the provided npm documentation URL and check the installation-path guidance. Update it to identify C:\Program Files\nodejs as the default for 64-bit Node.js installations and describe C:\Program Files (x86)\nodejs as applying only to legacy 32-bit installations.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.