in this video i will show you how to install gcc instead of using by default clang which is a system wired installed so if you run gcc hyphen iphone version then it will show that it is running this apple clang version first of all you need to install homebrew so you can go to this root.such site and you can copy this command and press this command into the terminal after command is run successfully you can run this command and you have to add this to your z profile or z shrc file after running this command your file will look like this so it it would have this information now if you run homebrew using blue it is returning this output that means that homebrew is installed successfully now go to the go to this side blue dot sh type in gcc copy this command run this command after the successful installation uh you would see that it has been installed now quit the terminal and open it again so for that you can click here on the terminal quit terminal open the terminal again running the terminal if you run gcc it will still point to the clang version but if you use gcc hyphen version which is in my case 11 then it is showing the different output you can check using gcc iphone version iphone iphone version so you will be able to see that if it is pointing to the homebrew installation of the gcc now if you want to use this is insta instead of using this gcc iphone iphone version then you can go to this path this command also run this command for using g plus plus as well after running these commands if you run where gcc or where g plus plus you will be able to see which version it is using so in this one first one is uh homebrew installation and second one is uh system installation so now if you run jss then it will point to this one because it has higher priority quit the terminal one more time and open it again now if you run this is the iphone iphone version then it will point to the homebrew installation same for g plus plus if you use z plus plus iphone iphone version then you will be able to see that it is pointing to the homebrew installation thanks for watching the video