0
我剛剛在我的Ubuntu 14.04上安裝了gitboot。很快我發現它不穩定。 gitbook -h顯示以下內容:像「構建」,「服務」,「PDF」如何卸載粘性gitbook舊版
home: gitbook -h
Usage: gitbook [options] [command]
Commands:
ls List versions installed locally
current Display currently activated version
ls-remote List remote versions available for install
fetch [version] Download and install a <version>
alias [folder] [version] Set an alias named <version> pointing to <folder>
uninstall [version] Uninstall a version
update [tag] Update to the latest version of GitBook
help List commands for GitBook
* run a command with a specific gitbook version
Options:
-h, --help output usage information
-V, --version output the version number
-v, --gitbook [version] specify GitBook version to use
-d, --debug enable verbose error
必不可少的命令,甚至在幫助信息不!不過,我可以使用'gitbook pdf'或'gitbook serve'。所以我查了一下它的版本,發現它是一個很舊的2.1.3。所以我用'gitbook update'來獲得2.6.7;並且還安裝了最新版本。現在我有:
home: gitbook ls
GitBook Versions Installed:
* 3.0.0-pre.9
2.6.7
Run "gitbook update" to update to the latest version.
home: gitbook -V
2.1.3
home:
我想擺脫舊版本2.1.3,但失敗。
home: gitbook uninstall 2.1.3
Error: ENOENT, lstat '/home/chensy/.gitbook/versions/2.1.3'
任何想法如何刪除2.1.3?爲什麼'gitbook -h'給了我一個不完整的命令列表?