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
Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org










Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap