• Install Node on MacOS M1/M2/Apple Silicon
https://dev.to/themodernpk/install-node-on-macos-m1-274d
• Install project dependencies
You can use shortcut -S and -D there -S is --save and -D is '--save-dev.
--save (or simple -S): Package will appear in your dependencies. -
-save-dev (or simple -D): Package will appear in your devDependencies.