Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions doc/contributing/distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,16 @@ only as a semver-major change, unless the related feature or project is
documented as experimental. In addition, Node.js includes external projects as
internal dependencies. These may be replaced or removed at any time, provided
that doing so is not a breaking change.

## Executables

The Node.js distribution adds a number of executable commands into the user's
`PATH`, such as `node`. The distribution will only include executables that run
code that is vendored within the Node.js distribution. The distribution will not
include executables to run code that is downloaded after installation.

For example, the distribution includes an `npm` executable to run the npm
package manager, which can be used to download other software, some of which may
create their own executables. The Node.js distribution will not include a `foo`
executable that would either directly download the full `foo` software or use
`npm` or Corepack to download `foo`.