4

How can I run and use nvm inside a fish shell? I was previously using bash and switched to fish shell and now I'm unable to use nvm. most of the wrappers are not maintained. what other alternatives exist?

2

1 Answer 1

1

The nvm README mentions that it does not support fish shell.:

Note: nvm does not support Fish either (see #303). Alternatives exist, which are neither supported nor developed by us:

  • bass allows you to use utilities written for Bash in fish shell

  • fast-nvm-fish only works with version numbers (not aliases) but doesn't significantly slow your shell startup

  • plugin-nvm plugin for Oh My Fish, which makes nvm and its completions available in fish shell

  • fnm - fisherman-based version manager for fish

I'm using fnm at the moment and it seems to be working fine.

1
  • please note that before fnm (which is called nvm.fish rn) you need to install fisher plugin manager.
    – hamsternik
    Commented Jun 14, 2022 at 10:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .