How to know Rust is Installed on Mac?

If you are not sure if Rust Language has been installed on your Mac, then you can try the below options to find out.


Option 1: Using the which Command

Example:

% which rustc

/Users/c2ctechtv/.cargo/bin/rustc

Option 2: Using the Rust Version Command in Terminal

  1. Open the Terminal App (press F4 on Macbook, or Command + Spacebar and type Terminal)
  2. Now type the command,
    % rustc --version
    
    rustc 1.71.0 (8ede3aae2 2023-07-12)

    If you get back a response with a version, you have rust installed. Else you may see "zsh: command not found: rustc"

Ways to Know Rust is installed on Mac

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!