Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

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

$
0
0

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


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>