change name in mac os terminal [duplicate]

I just bought new macbook pro, and opened up my terminal .

it shows:

(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 :(


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.

enter image description here