OSX users can use either the PortAudio (default),auhal(or coreaudio), or the Jack realtime audio modules. The auhal module is a native OSX module which provides good latency, but it might not work with some external hardware. To know more : https://csound.com/docs/manual/RealTimeMac.html
Installation Steps:
-  Open Terminal using Spotlight search by pressing  
<command+space>.
Type terminal and hitEnterkey. -  Now, run 
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null -  Install csound using brew
brew installcsound 
csound is ready to use now!