Build with terminal

Hi,
I want to build the project with terminal command.

Currently I use
/Applications/CocosCreator.app/Contents/MacOS/CocosCreator --path /Users/khachaturbadalyan/Documents/Projects/myGame --build “platform=web-mobile;debug=true”

This means that on the server I should install the CocosCreator for Jenkins build?