Update TeXstudio moderncv class

moderncvtexstudio

I wish to use moderncv \social command which is not recognized so I assume I have to update the class, how do I go about doing it with TeXstudio? I haven't downloaded any package for moderncv to begin with, just used \documentclass[12pt,a4paper]{moderncv} and it worked, but the \social command is not recognized so I'm wondering on what I should be doing?

Best Answer

You need to update your TeX distribution (MiKTeX or TeX Live). TeXstudio is only the editor, the editor calls your TeX distribution to compile the code.

Check the first line of your resulting .log file, there you can read the used version of class moderncv. The current one is version 2.2.0.