Skip to content

v1.7.0

Compare
Choose a tag to compare
@Schniz Schniz released this 05 Mar 09:45
· 594 commits to master since this release

Highlight 馃敠

There's a new --use-on-cd option to fnm env that will change Node versions automatically based on the current working directory .nvmrc or .node-version.

If you already have fnm installed,

  • and you use bash/zsh, you will need to change your .zshrc, .bashrc or .bash_profile:
    - eval `fnm env --multi`
    + eval "`fnm env --multi --use-on-cd`"
  • and you have fish, you will need to change your fish.config to the following:
    - eval (fnm env --multi)
    + fnm env --multi --use-on-cd | source

Changelog

New Feature 馃帀

  • #68 Infer shells automatically, and use versions based on the current working directory (optional) (@Schniz)