Appendix B - Windows setup
Use this appendix if you are setting up service_docs on Windows for the first time.
This is the native Windows setup that matches a VS Code + PowerShell workflow.
Install Git for Windows
Section titled “Install Git for Windows”Download Git from the Git downloads page.
During installation, these options make the later workflow easier:
- Add “Open with Code” action
- Add Git to PATH
- Use VS Code as the default editor if that option appears
After installation, open PowerShell and verify:
git --versionInstall Node.js LTS
Section titled “Install Node.js LTS”Download Node.js from the Node.js download page.
Install the LTS version of Node.js. Node.js also installs npm, which is the tool you use later to run npm ci and npm run dev.
Verify in PowerShell:
node --versionnpm --versionIf both commands show version numbers, Node.js and npm are installed.
Clone the repository
Section titled “Clone the repository”In VS Code:
-
Open the Source Control view.
-
Choose Clone Repository.
-
Paste:
https://github.com/ZiplineTeam/service_docs.git -
Choose a local folder, such as
C:\GitHub. -
Open the cloned
service_docsfolder when VS Code asks.
You can also clone from PowerShell:
cd C:\GitHubgit clone https://github.com/ZiplineTeam/service_docs.gitcd service_docsIf clone fails with a permission error, confirm that you are signed in to the right GitHub account and use Appendix D - Check GitHub access to check your repo and write access.
Install site dependencies
Section titled “Install site dependencies”From the repo root, install the Troubleshooting dependencies:
npm ci --prefix siteOptional: WSL2 setup
Section titled “Optional: WSL2 setup”Some engineers prefer WSL2 because its shell behavior is closer to Linux and CI. If you use WSL2, clone the repo inside your Linux home directory, not on a mounted Windows drive.
Inside WSL:
sudo apt updatesudo apt install -y git curlcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bashsource ~/.bashrcnvm install --ltsnvm use --ltsgit clone https://github.com/ZiplineTeam/service_docs.gitcd service_docsnpm ci --prefix siteContinue
Section titled “Continue”After the repo opens in VS Code, continue with Set up your workspace.