By default, your Mac’s computer name is your name followed by’s Mac – for example mine is Hyder Abbass’s Mac. If you have just bought a used Mac or a hand-me-down from your sibling, chances are that you want to change the name of your Mac.
There are other reasons as well why you might want to give a proper name to your Mac computer like for example if you want to recognize it on your local network or if you are connecting other devices via bluetooth or AirPlay.
Change Computer name on Mac
Whether you have Mavericks or Yosemite, the steps to change your Mac name is straightforward, here’s how you can do it:
- Click on the Apple logo at the top right on your screen and then go to
- Open the
Sharing folderto change your Mac computer name.
If you are an advanced Mac User and comfortable with the terminal, you can simple run:
sudo scutil --set ComputerName "darktips.com"
Easy right? Just make sure you set up a proper and distinguishable name as that’s what would be displayed on your local Network if you are connected to one.
Show Computer name in Finder
In case you had like to check how others will see your device name, you can enable it in finder by following these steps:
- On the top menu in Finder, select
- Under the Shared section, you should see your device name. Check the box next to it to make it appear in Finder.
Change Computer name in terminal
A few readers told me that they changed their Mac’s name. However, when they launched terminal, they could still see their previous name. Actually, this is quite normal.
Your computer name has nothing to do with the name on your terminal. You need to change your host name which is basically your computer name on the terminal. You can change it by running the following command.
sudo scutil --set HostName type-your-name