Skip to content

Install Cloudoor's Command-line: DOORCTL

The Cloudoor command-line tool, doorctl, allows users to perform actions on the Cloudoor platform.

You can install the CLI with either:

  1. A curl script

  2. Brew or you can

  3. Download binaries from the releases page.

Once installed, you'll get the door command.

Option 1: Install with curl

curl -sSL https://raw.githubusercontent.com/beopencloud/cno/main/scripts/cnoctl.sh | sh -s

Option 2: Install with brew on MacOS

  brew tap beopencloud/cno
  brew install doorctl  

Option 3: Install from the Release.

On the door release page, download the version needed, unarchive it, and move the binary to your system PATH.

For DOOR version v2.0.2 on MacOs:

wget https://github.com/beopencloud/cno/releases/download/v2.0.2/cnoctl_Darwin_x86_64.tar.gz

tar -xzf cnoctl_Darwin_x86_64.tar.gz

mv door /usr/local/bin/

For DOOR version v2.0.2 on Ubuntu:

wget https://github.com/beopencloud/cno/releases/download/v2.0.2/cnoctl_Linux_x86_64.tar.gz

tar -xzf cnoctl_Linux_x86_64.tar.gz

mv door /usr/local/bin/

Verify door Installation.

To check if door is correctly installed, use the command help:

doorctl --help 

Now that everything is set up, you can log in. If you are logging in to Door Africa run this command:

doorctl config --server-url  https://api.door.africa --organization <Organization Name>
doorctl login 

If you are logging in to Cloudoor run this command:

doorctl config --server-url https://api.apps.gocno.io --organization <Organization Name>
doorctl login 

You can also use the UI to do this by clicking the Link Icon next to your profile icon.

Further research