Installation problem(Windows)

After installation, I try to check the rustc --version or rustup update commands, but I keep getting the same error ""rustc" is not internal or external
command, executable program, or batch file."
What to do?

Have you tried restarting your command prompt?

Yes, I restarted the command prompt, I also installed on the laptop, and everything works fine there. I already reinstalled Rust, but it still didn't work.

You might need to add %USERPROFILE%\.cargo\bin to your PATH environment variable. And check that directory contains cargo.exe and rustup.exe

Thank you very much, it helped

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.