Page 1 of 1

Command line MacOS

PostPosted: Sat Apr 29, 2017 9:32 am
by tisawyer
Where is the command line executable, swift on MacOS? Only /usr/bin/swift is in the path but that's Apple's new programming language. Thanks for any help.

Re: Command line MacOS

PostPosted: Tue Aug 09, 2022 8:13 am
by Gwyneth Llewelyn
I have it automatically installed on /usr/local/bin/swift, and I've actually fixed the $PATH to look there first before /usr/bin/swift (Apple's programming language).

As a reference, here is what I've put on my path (I'm using bash and this is the last line on ~/.bash_profile):

Code: Select all
export PATH=/usr/local/bin:/usr/local/sbin:$PATH