You must install:
- Xcode command line tools
Install Xcode command line tools
You should install the Xcode command line tools using your organisation’s software centre if you have one.
You can also install the tools manually.
- Go to Apple Developer Downloads.
- Search for ‘Xcode’.
- Select the appropriate Command Line Tools (macOS x.x) for Xcode x.x for your version of macOS, and download the file.
- Install the file.
You can install Node.js anywhere on your computer.
You can install Ruby anywhere on your computer, using Ruby Version Manager (RVM).
Run the following in the command line to install RVM:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
Go to the Ruby downloads page and get the version number of the most recent Ruby 2.7.x release.
rvm install ruby-x.x.x, where
x.x.xis the version number. For example,
rvm install ruby-2.7.7.
You can also install Ruby using other tools such as rbenv.
You can install Middleman anywhere on your computer.
Run the following in the command line to install Middleman:
gem install middleman