Get started
You must install:
- Xcode command line tools
- Node.js
- Ruby
- Middleman
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.
Install Node.js
You can install Node.js anywhere on your computer.
Install Ruby
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 --rubyGo to the Ruby downloads page and get the version number of a compatible ruby release.
Run
rvm install ruby-x.x.x, wherex.x.xis a version number>= 3.3.0. For example,rvm install ruby-3.3.11.
You can also install Ruby using other tools such as rbenv.
Install Middleman
You can install Middleman anywhere on your computer.
Run the following in the command line to install Middleman:
gem install middleman
This page was last reviewed on 29 October 2026.
It needs to be reviewed again on 29 November 2026
by the page owner #gds-technical-writing
.
This page was set to be reviewed before 29 November 2026
by the page owner #gds-technical-writing.
This might mean the content is out of date.