Issue with Arduino IDE 2.3.4 on macOS (M1 Pro)

Here's how to do it without installing Rosetta.