From 05c8383a77babc2878c13c7aa4146ebc14dfd530 Mon Sep 17 00:00:00 2001 From: nath1as Date: Thu, 10 Oct 2019 10:12:15 +0200 Subject: [PATCH] fnm: add page (#3320) --- pages/common/fnm.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/fnm.md diff --git a/pages/common/fnm.md b/pages/common/fnm.md new file mode 100644 index 0000000000..f43fe22dd4 --- /dev/null +++ b/pages/common/fnm.md @@ -0,0 +1,25 @@ +# fnm + +> Fast Node.js version manager. +> Install, uninstall or switch between Node.js versions. +> More info: . + +- Install a specific version of Node.js: + +`fnm install {{node_version}}` + +- List all available Node.js versions and highlight the default one: + +`fnm ls` + +- Use a specific version of Node.js in the current shell: + +`fnm use {{node_version}}` + +- Set the default Node.js version: + +`fnm default {{node_version}}` + +- Uninstall a given Node.js version: + +`fnm uninstall {{node_version}}`