Skip to content

Conversation

gurjeet
Copy link

@gurjeet gurjeet commented Aug 30, 2025

Exporting the variable is not necessary, since the nvm functions work as
expected without the export. Exporting it, however, pollutes the shell's child
processes' environment unnecessarily.

Exporting the variable is not necessary, since the nvm functions work as
expected without the export. Exporting it, however, pollutes the shell's child
processes' environment unnecessarily.
@ljharb
Copy link
Member

ljharb commented Aug 31, 2025

Making nvm available to a shell's child processes is a feature, not a pollution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants