In this guide we’ll cover how to get a local version of your wiki fork running in your browser, so you can check how changes will appear exactly as they’ll appear on the original wiki site.
This is intended for users who want the most accurate preview and control over the final output.

Info for Linux users
Official Jekyll and Ruby install instructions can be found for Ubuntu here (other distro info here).
For installing git check the relevant install command for your package manager.
If using Linux run the bash (.sh) versions of the install and run scripts mentioned in the steps below.
Since Github Desktop isn’t available for Linux you’ll have to use an alternative git front-end or just the git CLI, to make the initial fork clone and (optionally but recommended) manage commits.
You can alternatively run Linux in a virtual machine on a Windows host and manage files/git on the Windows side, by cloning the wiki to a directory on the host and sharing it with the VM.
The build process uses Powershell scripts for generating the search index and recent changes files, to populate the search results and any section’s sidebar items (like can be seen in this Meta section).
Powershell is available in Linux packages but if you don’t want to install it just keep in mind those aspects won’t behave as expected.
Important: The latest Ruby version (v4) has breaking changes with building the site locally. Use Ruby v3 instead for the time being. The steps below have been adjusted to link to the v3.4 installer.
If you get a Windows SmartScreen message blocking the installer click the underlined More info text then click the Run anyway button.
Enter key to continue when asked.
succeeded you’ll be prompted a second time to press Enter. This just exits the CMD window since it’s already complete.Git, the open source version control software, is required for the github-metadata plugin used, along with the script that builds the recent wiki changes list. Trying to run the local server without git will error early and exit the run script.
This is the most common way to add git support.
Expand for more
If you don’t want to install git for Windows above you can alternatively use Github Desktop’s own version of git which is already present. However Github Desktop doesn’t itself add that version to the Windows PATH environment variables and creates separate versions for each Github Desktop update, which means each time Github Desktop updates you’ll have to update the PATH value.
If you don’t mind having to update the value periodically then this is perfectly fine, too.
Expand for more
Open the Windows start menu and search for environment and select Edit environment variables for your account (the ‘for your account’ is important so it’s added to the specific account you’re logged into).
<version number> in the example with the Github Desktop version, eg. 3.4.2 or whatever the version of Github Desktop is currently installed).%USERPROFILE%\AppData\Local\GitHubDesktop\app-<version number>\resources\app\git\cmd
install.bat script in the root directory of your fork. This installs the required Jekyll dependencies for the local wiki fork and only has to be done once. It will take a moment before progress appears. The window will auto close when finished.
It’s easier to distinguish file types by having file extensions visible in Windows File Explorer.
Now we’re ready to run the server. Any time you’d like to run it just do the following.
run.bat script. This will build the wiki then run a web server locally on Windows that can be accessed via a browser.
The server is only accessible on your system, not over the internet.
1 or Enter key for the incremental build type (faster).
The alternative full build option will rebuild the whole wiki any time a change is detected. This is useful if you’ve changed some permalink metadata and need the search results and sidebar sections to sync up with the changes.
localhost:4000 in the addressbar to visit the local wiki running on your system!You’ll notice a new
_sitedirectory in the root of the wiki directory appear. This directory only contains the compiled versions of pages/files for the local server and is ignored by Github Desktop when detecting file changes, so avoid editing any of the files within.
You may get a Windows firewall pop-up mentioning Ruby is connecting to the internet but this can be closed and it won’t notify again.
If after launching the run script the window automatically closes and the server doesn’t work then check the Troubleshooting section below.
You can stop the local server running at any time by closing the CMD window you minimized, or by focusing the CMD window and pressing Ctrl+C (the ‘cancel’ command) twice to terminate the process.
You can make changes to the wiki as you would normally, by editing/adding/deleting files on your local fork via Windows Explorer.
Any changes will be auto detected by Jekyll incrementally and the parts of the wiki that have changed will be re-built. The changes can be viewed in a browser.
You can then submit your changes back to the original wiki as per the Github Desktop guide.

It takes a moment to rebuild for each change so there’ll be a delay between the change(s) and when they’ll appear. The changes should automatically appear in the browser without requiring a refresh, once they’ve been built and are ready.
If you get an error when using the run script of git : The term 'git' is not recognized..., it means the git binary isn’t detected in your environment variables. See the Adding git section above to add git to the Windows environment variables.
Running an older version of Ruby 3 instead of the currently recommended version 3.4.8 will produce errors when trying to use the run script and the window will auto close and the local server won’t run. In this case follow the steps in the spoiler below.
How to change your installed Ruby version (Windows)
ruby and uninstalling it..env-files/Gemfile.github.lock file in your wiki fork directory.
This file gets generated when installing the dependencies and is ignored by git when making changes so don’t worry about it.
install.bat script and let it install the Ruby dependencies.run.bat and select whichever option you want to run the local server.The run script window should now remain open and the local server work.
If you updated your fork of the repo to sync to the upstream version and aren’t seeing the updated changes try hard reloading your browser cache (typically with the hotkey Ctrl+Shift+R or in some browsers holding Shift and clicking the reload button).
Any edits to a wiki page that affect the search results or a section sidebar tree will require a full rebuild of wiki if you want those changes to appear in them. Examples of changes that would need this: if you’ve deleted a page or changed its metadata (tag/title/etc).
2 (the full build option) when prompted. After it’s built once you can exit the run script window again and go back to using the incremental build (option 1) if you prefer.The reason this is needed is because those particular build scripts only get triggered on a fresh, complete build (via a Jekyll hook in the Ruby plugin) and not on just a full build per se.
Ie: even if you’re already using option 2 of the run script only the first build upon launching the script will run the scripts but not on subsequently detected changes even though Jekyll is still rebuilding the rest of the site.