Getting Error while installing discourse theme cli

I get an error while using gem install discourse_theme.
I have ruby 2.6 with my macos but there is no write access.What could be the possible fix?
Image ref below