Skip to content

Add an append mode to fnm env - #1598

Open
pederbe wants to merge 1 commit into
Schniz:masterfrom
pederbe:learn/348-append-path
Open

pederbe wants to merge 1 commit into
Schniz:masterfrom
pederbe:learn/348-append-path

Conversation

@pederbe

@pederbe pederbe commented Sep 18, 2026

Copy link
Copy Markdown

fnm env currently always puts the managed Node.js directory first in PATH, which prevents users from keeping an existing Node installation as their default.

This adds an opt-in --append flag. It removes stale fnm multishell entries before appending the current session path, while leaving the existing prepend behavior unchanged across supported shells.

Closes #348

@pederbe
pederbe marked this pull request as ready for review September 18, 2026 19:06

This branch has not been deployed

No deployments
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.

Option to append the PATH?

1 participant