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
-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X





























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