This guide outlines the steps for setting up a development environment on top of macOS.
Set up macOS environment
Installing Xcode
It is a development tool used on macOS and enables development of not only macOS applications but also iOS and other applications. To install, find Xcode in the App Store and install it.

Node.js Setup
To be able to easily switch between Node.js versions, we will eventually install the command n. If you installed Node.js using homebrew, you will need sudo and will be asked for administrative privileges when doing npm -g, etc, This procedure avoids that.The actual installation script to be used is available at the following site
The code on the page is the following one line, which can be executed in a terminal to complete the installation of n.
If Xcode is not installed, the following error screen will appear. When this error appears, please install Xcode (install from the App Store).

If you were able to run the installation script, you will be prompted to confirm that you want to install.

If you select Yes and run the installation, the installation will complete as follows.

Installation is now complete.

Installing Visual Studio Code
Install Visual Studio Code, a very useful development environment. Please install from the following site.