Change computer name in OS X Yosemite

In case you want to rename your computer name in Yosemite, here’s what I did in the Terminal to do so:

sudo scutil --set ComputerName
sudo scutil --set HostName
sudo scutil --set LocalHostName
hostname -f

One thought on “Change computer name in OS X Yosemite”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.