This is an external open-source GitHub repository imported into the WOCSOL Marketplace for discovery. The original repository owner is the primary creator.
๐ Fast and simple Node.js version manager, built in Rust
๐ Fast and simple Node.js version manager, built in Rust
Fast Node Manager ( fnm ) > ๐ Fast and simple Node.js version manager, built in Rust ## Features ๐ Cross-platform support (macOS, Windows, Linux) โจ Single file, easy installation, instant startup ๐ Built with speed in mind ๐ Works with `.node-version` and `.nvmrc` files ## Installation ### Using a script (macOS/Linux) For `bash`, `zsh` and `fish` shells, there's an [automatic installation script](./.ci/install.sh). First ensure that `curl` and `unzip` are already installed on your operating system. Then execute: ```sh curl -fsSL https://fnm.vercel.app/install | bash ``` #### Upgrade On macOS, it is as simple as `brew upgrade fnm`. On other operating systems, upgrading `fnm` is almost the same as installing it. To prevent duplication in your shell config file, pass `--skip-shell` to the install command: ```sh curl -fsSL https://fnm.vercel.app/install | bash -s -- --skip-shell ``` #### Parameters `--install-dir` Set a custom directory for fnm to be installed. The default is `$XDG_DATA_HOME/fnm` (if `$XDG_DATA_HOME` is not defined it falls back to `$HOME/.local/share/fnm` on linux and `$HOME/Library/Application Support/fnm` on MacOS). > **Note:** On macOS, this option is only meaningful when using `--force-install` since Homebrew is the default installation method. `--skip-shell` Skip appending shell specific loader to shell config file, based on the current user shell, defined in `$SHELL`. e.g. for Bash, `$HOME/.bashrc`. `$HOME/.zshrc` for Zsh. For Fish - `$HOME/.config/fish/conf.d/fnm.fish` `--force-install` macOS installations using the installation script are deprecated in favor of the Homebrew formula, but this forces the script to install using it anyway. Example: ```sh curl -fsSL https://fnm.vercel.app/install | bash -s -- --insta
Ask questions or discuss this product. New comments are reviewed before publishing.
Loading comments...