docs: rebrand OS X and OSX references to macOS (#1689)

## Situation Several website pages on https://docs.npmjs.com, such as https://docs.npmjs.com/downloading-and-installing-node-js-and-npm refer to the operating system "OS X" and "OSX". The last version of OS X was OS X 10.11 (El Capitan), released on Sep 30, 2015. Apple rebranded to macOS with the macOS 10.12 (Sierra) release on Sep 30, 2016. ## Change Rename "OS X" and "OSX" to "macOS". ## References https://en.wikipedia.org/wiki/MacOS_version_history https://www.apple.com/macos/ Related to https://github.com/npm/documentation/issues/1459 Follows on from https://github.com/npm/cli/pull/8371 which only changed the branding in the CLI v11 documentation content, such as https://docs.npmjs.com/cli/v11/configuring-npm/install, not in non-CLI website content.

Mike McCready committed Aug 18, 2025 at 18:07 UTC 4823a620beb49988b499d18e872fc3668e7b032c
4 files changed +7 -7
content/getting-started/configuring-your-local-environment/downloading-and-installing-node-js-and-npm.mdx
+3 -3
@@ -35,7 +35,7 @@ npm -v
35
36 Node version managers allow you to install and switch between multiple versions of Node.js and npm on your system so you can test your applications on multiple versions of npm to ensure they work for users on different versions.
37
38 -### OSX or Linux Node version managers
38 +### macOS or Linux Node version managers
39
40 - [nvm](https://github.com/creationix/nvm)
41 - [n](https://github.com/tj/n)
@@ -54,9 +54,9 @@ If you are unable to use a Node version manager, you can use a Node installer to
54
55 If you use Linux, we recommend that you use a NodeSource installer.
56
57 -### OS X or Windows Node installers
57 +### macOS or Windows Node installers
58
59 -If you're using OS X or Windows, use one of the installers from the [Node.js download page](https://nodejs.org/en/download/). Be sure to install the version labeled **LTS**. Other versions have not yet been tested with npm.
59 +If you're using macOS or Windows, use one of the installers from the [Node.js download page](https://nodejs.org/en/download/). Be sure to install the version labeled **LTS**. Other versions have not yet been tested with npm.
60
61 ### Linux or other operating systems Node installers
62
content/getting-started/troubleshooting/try-the-latest-stable-version-of-node.mdx
+1 -1
@@ -20,7 +20,7 @@ For some Linux distributions (Debian/Ubuntu and RedHat/CentOS), the latest node
20
21 Install the latest msi from [https://nodejs.org/en/download](https://nodejs.org/en/download)
22
23 -### Updating node on OSX
23 +### Updating node on macOS
24
25 Install the latest package from [https://nodejs.org/en/download](https://nodejs.org/en/download)
26
content/getting-started/troubleshooting/try-the-latest-stable-version-of-npm.mdx
+2 -2
@@ -10,9 +10,9 @@ redirect_from:
10 npm -v
11 ```
12
13 -## Upgrading on `*nix` (OSX, Linux, etc.)
13 +## Upgrading on `*nix` (macOS, Linux, etc.)
14
15 -_(You may need to prefix these commands with `sudo`, especially on Linux, or OS X if you installed Node using its default installer.)_
15 +_(You may need to prefix these commands with `sudo`, especially on Linux, or macOS if you installed Node using its default installer.)_
16
17 You can upgrade to the latest version of npm using:
18
content/packages-and-modules/getting-packages-from-the-registry/uninstalling-packages-and-dependencies.mdx
+1 -1
@@ -58,7 +58,7 @@ npm uninstall --no-save lodash
58
59 To confirm that `npm uninstall` worked correctly, check that the `node_modules` directory no longer contains a directory for the uninstalled package(s).
60
61 -- Unix system (such as OSX): `ls node_modules`
61 +- Unix system (such as macOS): `ls node_modules`
62 - Windows systems: `dir node_modules`
63
64 ## Uninstalling global packages