github Schniz/fnm v1.7.0

latest releases: v1.35.1, v1.35.0, v1.34.0...
5 years ago

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)

Don't miss a new fnm release

NewReleases is sending notifications on new releases.