Before going any further, make sure your system meets all the requirements.
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri "https://github.com/Requarks/wiki/releases/latest/download/wiki-js-windows.tar.gz" -OutFile "wiki-js.tar.gz"
New-Item -Path "C:\" -Name "wiki" -ItemType "directory"
tar xzf wiki-js.tar.gz -C "C:\wiki"
cd C:\wiki
The tar utility is only available on Windows 10 and later. On earlier versions, you'll need a 3rd-party utility like 7-zip to extract the file.
config.yml
:Rename-Item -Path config.sample.yml -NewName config.yml
notepad .\config.yml
npm rebuild sqlite3
node server
There are several solutions to run Wiki.js as a background service, e.g.: