fnm.el is an Emacs Lisp package providing a simple wrapper around FNM.
This package depends on the following Emacs packages:
(use-package fnm
:straight (:host github :repo "bobrowadam/fnm.el"))TBD (Still not available at MELPA)
To use a specific Node version in your Emacs session:
M-x fnm-use RET <node-version>
;; Use a specific node version:
(fnm-use "18")
;; Utility functions:
(fnm-node-bin-path "18")
==> "/Users/bob/Library/Caches/fnm_multishells/37395_1705833222623/bin"
(fnm-node-modules-path "18")
==> "/Users/bob/Library/Caches/fnm_multishells/37478_1705833256189/lib/node_modules/"Contributions to fnm.el are welcome!