Member-only story

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

Cocoapods installed successfully finally.

For more about iOS development : https://medium.com/@javedmultani16

Some useful codes and libraries: https://github.com/javedmultani16

Know more about me: https://www.linkedin.com/in/javedmultani16/

--

--

Mr.Javed Multani
Mr.Javed Multani

Written by Mr.Javed Multani

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

Responses (1)