Getting error while installing cocoapods: “You don’t have write permissions for the /usr/bin directory.”

Mr.Javed Multani
1 min readNov 2, 2019

I found the solution by do the following :

  • open terminal
  • use terminal as root user and enter sudo -i
  • enter your password
  • type this line sudo gem install cocoapods -V

--

--

Mr.Javed Multani

Software Engineer | Certified ScrumMaster® (CSM) | UX Researcher | Youtuber | Tech Writer