Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subcommand to link/unlink selected version #83

Open
Alhadis opened this issue Sep 1, 2022 · 0 comments
Open

Add subcommand to link/unlink selected version #83

Alhadis opened this issue Sep 1, 2022 · 0 comments

Comments

@Alhadis
Copy link

Alhadis commented Sep 1, 2022

Normally, I use the version of Node installed by Homebrew, and use Nodebrew to quickly switch between older Node.js versions when testing certain projects. When I'm finished testing something, I have to uninstall the current version if I want it out of my $PATH.

It'd be great if Nodebrew supported a command like brew unlink/brew link:

$ nodebrew unlink
Unlinked: ~/.nodebrew/current
$ nodebrew link
Linked: ~/.nodebrew/current -> ~/.nodebrew/node/v18.7.0

Alternatively, something like nodebrew use none could be added instead, which is arguably much more simple.

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

No branches or pull requests

1 participant