Introduction
cwctl is the CLI tool used to install and manage a self-hosted OneLink Linux installation.
cwctl aims to abstract away the common bash interactions with a OneLink installation and provide an easy-to-use syntax. This is not intended to be a full replacement.
If you are running a OneLink instance installed from the managed Linux flow, cwctl may already be present as part of installation.
Check if cwctl is already installed by
cwctl is not present, follow the steps below to install the managed installer CLI.
Install or Upgrade the Managed Installer CLI
If you used an older version of the install script (< 2.0), you will not havecwctl in your PATH. To install or upgrade the managed installer CLI,
The above command requires root access to install
cwctl to /usr/local/bin.Help
To learn more about the options supported bycwctl,
Upgrading to a newer version of OneLink
Whenever a new version of OneLink is released, use the following steps to upgrade your instance.This will upgrade your OneLink instance to the latest stable release. If you are running a custom branch in production, do not use this to upgrade.
Setup Nginx with SSL after installation
To set up Nginx with SSL after initial setup(if you answeredno to webserver/SSL setup during the first install)
Please add an A record pointing to your OneLink instance IP before proceeding.