浏览代码

fnm: add page (#3320)

nath1as 5 年之前
父节点
当前提交
05c8383a77
共有 1 个文件被更改,包括 25 次插入0 次删除
  1. 25 0
      pages/common/fnm.md

+ 25 - 0
pages/common/fnm.md

@@ -0,0 +1,25 @@
+# fnm
+
+> Fast Node.js version manager.
+> Install, uninstall or switch between Node.js versions.
+> More info: <https://github.com/Schniz/fnm>.
+
+- 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}}`