Score:0

cant use "cargo, rustup and rustc" even after installing rust-lang

cn flag

So I installed rust in my WSL (Ubuntu) as the official site says, by doing

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

I see the commands exist (cargo, rustc, rustup) in ~/.cargo/bin but I can't use them in my shell. I know I have to add the folder in my PATH but I am kinda new to Linux so I have no idea how to do that. Any help would be greatly appreciated.

Shell - Fish
OS - WSL Ubuntu 20.04.2 LTS

hr flag
You may find this helpful: [Modifying PATH with fish shell](https://stackoverflow.com/questions/26208231/modifying-path-with-fish-shell)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.