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 x64
On Linux or MacOS, the CLI is distributed as a raw binary file. There is no graphical setup (.deb or .rpm). You must download the binary manually and ensure it is executable and accessible in your system's PATH.
- You can install the CLI using the script in the
linux-macos-setup.shfile.
The distribution for Windows is provided through a standalone executable setup (.exe). This setup bundles the binary and automatically configures the system environment variables.
-
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 (as it is a community tool signed by the developer).
-
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. You may check "Launch Discloud CLI" to open immediately.
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.