Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
2 years, 9 months ago
This question already has answers here:
2 years ago.
I just bought new macbook pro, and opened up my terminal .
(base) Jiui-MacBookPro:~ myname$
I want to change that "Jiui" part that is located in front of -MacBookPro.
How can I do that? I know how to change that "myname" part but don't know in front of that macbookpro.
Please save me :(
Aug 11, 2020 at 22:35
If you go to the "Sharing" system preference pane you will see a field at the top that allows you to change the computer name. Click the lock at bottom left of the window and when prompted enter your password and you will be able to edit the field.
18.6k 10 10 gold badges 42 42 silver badges 58 58 bronze badges
Aug 11, 2020 at 23:30
Tony Williams Tony Williams
11.8k 1 1 gold badge 29 29 silver badges 59 59 bronze badges
Not the answer you're looking for? Browse other questions tagged
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only
sudo scutil --set HostName JHP-MacBookProwould change the prompt to
JHP-MacBookPro: ~ myname$. Note that you will be asked to type your password when you run the command.