ubuntu安装gitbook

ubuntu安装gitbook

一. 首先安装nodejs
1. 在命令行执行:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
2. 执行完之后查看是否成功
在这里插入图片描述
二. 安装gitbook
1. npm install -g gitbook-cli
2 gitbook -V #查看是否安装成功
三 安装gitbook到处pdf工具
1. apt-get install calibre

大功告成!!!!!

猜你喜欢

转载自blog.csdn.net/weixin_44946147/article/details/118023035