I'm surprised you haven't just seen this thread that was created 2 days ago. Just do it this way, don't need Linux, can just use terminal in macOS
https://gbatemp.net/threads/tutorial-for-osx-users.501950/
Dude, he just wants Linux on his Nintendo Switch, not the operating system on his mac