Docsify 安装
作者:互联网
首先查看你的本地命令行中是否安装了 Docsify。
运行 docsify -v
如果显示:
C:\WorkDir\Repository\cwiki-us-docs\spring-boot-docs>docsify -v'docsify' is not recognized as an internal or external command, operable program or batch file.
就说明你的系统中没有安装。
如果你已经装了 npm 或者 python 的话,
运行命令:
npm i docsify-cli -g
进行安装。
计算机将会输出:
C:\WorkDir\Repository\cwiki-us-docs\spring-boot-docs>npm i docsify-cli -g C:\Users\yhu\AppData\Roaming\npm\docsify -> C:\Users\yhu\AppData\Roaming\npm\node_modules\docsify-cli\bin\docsify > docsify@4.11.6 postinstall C:\Users\yhu\AppData\Roaming\npm\node_modules\docsify-cli\node_modules\docsify > opencollective-postinstall Thank you for using docsify! If you rely on this package, please consider supporting our open collective: > https://opencollective.com/docsify/donatenpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\docsify-cli\node_modules\chokidar\node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) + docsify-cli@4.4.1added 204 packages from 90 contributors in 16.035s
再次运行命令查看版本。
如果能够显示版本号的话,就说明已经安装成功了。
C:\WorkDir\Repository\cwiki-us-docs\spring-boot-docs>docsify -vdocsify-cli version: 4.4.1
https://www.ossez.com/t/docsify/476
标签:npm,node,cli,docs,modules,Docsify,安装,docsify 来源: https://blog.51cto.com/ossez/2532133