Gitbook-cli is the command line interface to use gitbook offline. With this tool you can update your gitbook offline.
To install gitbook-cli on your system you need nodejs installed on your system.
Here i presume that you have nodejs already installed if not then follow this tutorial here.
Installing Gitbook cli
npm install -g gitbook-cli