Welcome to the Discloud CLI installation documentation. Follow the instructions below according to your operating system to install and start using the tool.
Note: Before proceeding, ensure you have the necessary prerequisites installed on your machine.
- Operating System:
- Linux arm64/x64
- MacOS arm64
- Windows arm64/x64
On Linux or MacOS, the CLI is distributed as a raw binary file.
- You can install the CLI using the script in the
linux-macos-setup.shfile.
The distribution for Windows is provided through winget or standalone executable setup (.exe). This setup bundles the binary and automatically configures the system environment variables.
- Open the terminal and paste the command below.
winget install Discloud.CLI-
Download the Setup: Go to the official releases page and download the file
discloud-cli-x64-setup.exe. -
Run the Setup: Double-click the downloaded file. If Windows SmartScreen or Defender prompts you, select More info > Run anyway.
-
Follow the Wizard:
- Click Next.
- Read and accept the license terms (I Agree).
- Choose the installation directory (default is recommended).
- Click Install.
-
Finish: Once completed, click Finish.
After completing the steps above, verify that the installation was successful by typing the following command in your terminal or command prompt:
discloud --versionIf installed correctly, the output will display the current version number (e.g., v1.0.0).
To use the CLI commands and manage your bots/applications, you must authenticate your account:
discloud loginThe system will either generate an OTP code or open your default browser to confirm access to your DisCloud account.
For details see CONTRIBUTING.md.
- Dart 3.10 or higher due to the
dot shorthand.
-
Get the dependencies
dart pub get
-
Run build runner
dart run build_runner build
-
Run formatter and linter
dart format . dart fix --apply
-
You can perform the test manually by running the command below.
dart run lib/main.dart
-
Try adding arguments.
dart run lib/main.dart --version
For details see LICENSE.