镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add subcommand to link/unlink selected version #83

Open

Description

@Alhadis

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions