| title | description | sidebarTitle |
|---|---|---|
Chatwoot CTL |
CLI tool to install and manage a self hosted Chatwoot Linux installation |
Chatwoot CTL |
Chatwoot CTL(cwctl) is CLI tool to install and manage a self hosted Chatwoot Linux installation.
cwctl aims to abstract away the common bash interactions with a Chatwoot installation and provide an easy to use syntax. This is not intended to be a full replacement.
If you are running a Chatwoot v2.7.0 instance or later, cwctl would have been already installed for you as part of installation.
Check if cwctl is already installed by
cwctl --versionIf cwctl is not present, follow the steps below to install Chatwoot CTL.
If you used an older version of install script(< 2.0), you will not have cwctl in your PATH. To install/upgrade Chatwoot CTL,
wget https://get.chatwoot.app/linux/install.sh -O /usr/local/bin/cwctl && chmod +x /usr/local/bin/cwctl
cwctl --helpTo learn more about the options supported by cwctl,
sudo cwctl --helpWhenever a new version of Chatwoot is released, use the following steps to upgrade your instance.
sudo cwctl --upgradeTo upgrade to a specific Chatwoot version, use -U/--Upgrade with a git ref.
sudo cwctl -U <VERSION>
# example
sudo cwctl -U v4.3.0To set up Nginx with SSL after initial setup(if you answered no to webserver/SSL setup during the first install)
sudo cwctl --webserversudo cwctl --restartsudo cwctl --consoleFor Chatwoot web(rails) server logs use,
sudo cwctl --logs webFor Chatwoot worker(sidekiq) server logs use,
sudo cwctl --logs workerTo check the version of Chatwoot CTL,
sudo cwctl --version