Trouble using my Rust installation with a proxy

I have installed cargo in my windows 10 but when i launch this command => "cargo" or cargo install <package> i have this error :

error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.

And when in launch this command : 'rustup default stable' the console he ping a website but my computer have a proxy to the company who i worked have you idea for i can fix this issue please ?

Thanks in advance

To configure rustup to use your proxy, see: Network proxies - The rustup book