Error

when I run: nodebrew install v2.0.0 it shows: Error: Darwin arm64 is not supported. at /Users/name/.nodebrew/current/bin/nodebrew line 746.

Solution

softwareupdate --install-rosetta arch -x86_64 nodebrew nstall v2.0.0 nodebrew ls