LogoLogo
πŸ‡ΊπŸ‡Έ EN
πŸ‡ΊπŸ‡Έ EN
  • πŸ‘‹Welcome
  • Suport
    • ☁️How to Host
      • πŸ€–Bots
        • πŸ”ŒBot
        • 🧩VSCode Extension
        • ⌨️CLI
      • 🌎Website and APIs
        • πŸ”ŒBot
        • 🧩VSCode Extension
        • ⌨️CLI
    • ⌨️Languages
      • 🟨JavaScript
        • πŸ“„Create the package.json
      • 🐍Python
        • πŸ“„Create the requirements.txt
      • β˜•Java
      • πŸ’ŽRuby
        • πŸ“„Create the Gemfile
      • 🐿️Go
      • 🐘Php
      • πŸ¦€Rust
        • πŸ“„Create the Cargo.toml
    • ⛓️Integrations
      • 🌐Your Own Domain
      • πŸ™GitHub and GitLab
      • 🎧Lavalink
      • πŸ’ΎDatabase
        • MongoDB Atlas (mLab)
    • ❓Frequently Asked Questions (FAQ)
      • How to compress my files?
      • Discloud ModMail (Ticket)
      • How do I get my bot's ID?
      • What is the main file?
      • Configuring Puppeteer
      • How to report an offender?
      • Why can't I access my website?
      • Very Heavy BOT
    • βš’οΈCommands
      • How to get API token
      • How to integrate Github
    • 🀲Donations
  • configuration
    • βš™οΈdiscloud.config
      • πŸ“¦APT (Install Packages)
      • πŸ—οΈVERSION (Switch between Versions)
  • πŸ–₯️local environment
    • βš™οΈInstall
      • 🟨JavaScript (NodeJS)
      • 🐍Python
      • πŸ’ŽRuby
      • πŸ¦€Rust
  • API
    • πŸ“‘Using the API
    • πŸ”—Routes
  • About
    • 🎨Discloud Brand
      • Name origin
      • Visual Identity
  • πŸ”—Links
    • 🌎Website
    • πŸ“ŠDisCloud Status
  • πŸ“œLegal
    • πŸ“„Terms of Service (TOS)
Powered by GitBook
On this page
  • Requirements
  • DisCloud CLI
  • Tips and Tricks
  • Init

Was this helpful?

Edit on GitHub
  1. Suport
  2. How to Host
  3. Bots

CLI

PreviousVSCode ExtensionNextWebsite and APIs

Last updated 1 year ago

Was this helpful?

A CLI (Command-line interface) is a program based on text commands.

Requirements

1. You need to use the api command, to get your token from the DisCloud API

DisCloud CLI

DisCloud officially maintains 2 CLI projects in 2 different languages, use whichever is more convenient.

1. Download

Requires installed

Windows / Linux

npm i -g discloud-cli

2. Reopen the Terminal

3. Check the Installation

discloud --version

If the version appears, it means it was installed correctly

4. Login

discloud login

1. Installer Download

Windows

. {iwr -useb "https://discloud.github.io/cli-rust/installer/windows.ps1"} | iex;

Linux

curl -L https://discloud.github.io/cli-rust/installer/linux | bash

2. Reopen the Terminal

3. Check the Installation

discloud --version

If the version appears, it means it was installed correctly

4. Login

discloud login TOKEN_AQUI

Init

Use the discloud init command to create your discloud.config easily, intuitively, and quickly!

Tips and Tricks

☁️
πŸ€–
⌨️
πŸ‘
πŸ“
⌨️
NodeJS
Link to the project's repository
Link to the project's repository