11

Somehow when I open the terminal on my MacBook Pro 16 (2019) it uses my iPad instead of using my MacBook Pro. I moved from Windows few days ago. I use my iPad at school for writing by my hand and somehow they linked up.

I want to run Flutter from the Terminal but I can’t because is not on the machine I want?

How to switch back to my MacBook Pro?

Here is a screenshot what I see.

enter image description here

1

1 Answer 1

30

More than likely your computer name just changed which is what is displayed in the CLI prompt. These commands via Terminal will shed some light as to the device you're using:

  • Confirm macos version: sw_vers
  • Check who is logged in: whoami
  • Confirm serial number: ioreg -l | grep IOPlatformSerialNumber

If these match your computer info, then change your computer name in “System Preferences -> Sharing.”

There are also additional 'hostnames' which may need to get fixed and can be checked via:

  • scutil --get HostName (or scutil --get ComputerName or scutil --get LocalHostName)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .