Avatar ·

After installing rustup it says "No default toolchain configured": what to do?

Hello, colleagues! I'm new to Rust and trying to set up the environment. I installed rustup on Ubuntu using the command: ```bash curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` After installation, I restarted the terminal and checked the version: ```bash rustc --version ``` And got the error: ``` error: no default toolchain configured; run `rustup default stable` ``` I tried running `rustup default stable`, but I get: ``` error: no default toolchain configured ``` Here is the output of `rustup show`: ``` Default host: x86_64-unknown-linux-gnu rustup home: /home/user/.rustup installed toolchains -------------------- active toolchain ---------------- ``` Empty! Nothing is installed. I already checked the paths in `~/.bashrc` — there is `source $HOME/.cargo/env`.