I'm confused, if you're running an M2 Mac, you're probably going to be running Asahi Linux. (Not really sure there is any other option :P)
That would be set up on the first day with the simple asahilinux she'll script, and then theres essentially nothing else needed after that.
So you should be able to just `pacman -Syu`