Joe Lanman - Designer
Using the GOV.UK Prototype Kit with GitHub Codespaces
The normal way to run the GOV.UK Prototype Kit is to use the command line. However there is another approach which might be easier, especially if you cannot install Node (for example if your employer has blocked it).
There are online services which let you edit and run code without installing anything on your computer. We will use GitHub Codespaces for this tutorial.
- Get a GitHub account if you don’t have one
- Go to GitHub Codespaces
- Click the New codespace button
You should now see the Create a new codespace page.
- Click Select a repository
- Type in
joelanman/govuk-prototype-kit-prototype
- Make sure the Region is near you
- Click Create codespace
You'll see a new page containing the Visual Studio Code editor. Wait for it to finish processing, then
- In the Terminal at the bottom, type
npm run dev
- This should display a popup at the bottom, click Open in Browser
Your prototype should open in a new tab.
If this is your first time using the GOV.UK Prototype Kit, try the tutorial.
Last updated: 29/3/24