Do I really need to install Xcode on my Mac in order to install Sass through the terminal?

I am learning Sass but I didn’t know what the black space below was so I found out that it was a terminal for command lines.
Then I came across an article on stack overflow on how to install sass because everytime I typed gem install sass or sudo install sass it gave errors. I updated the gem on the terminal and again it showed error so the users recommended that Xcode should be installed so that it solves all the problems.

So i just wanted to ask if I really need to install Xcode in order to use sass.

When I wrote gem install sass it showed '‘You don’t have write permissions for the /Library/Ruby/Gems/2.0.0 directory.’'and when I wrote sudo gem install sass it asked for my password and then again it showed errors…

I have 2.0.14.1 version of gem

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.