Install Uptime Kuma on Windows 🌱

What is Uptime Kuma?

Uptime Kuma is a fancy self-hosted monitoring tool. -https://github.com/louislam/uptime-kuma

Install Uptime Kuma

  1. Log into the Windows device
  2. Download Git Download
  3. Download NodeJS Download
  4. Install Git, accepting all defaults
  5. Install NodeJS, accepting all defaults
  6. Click the Start button > Search powershell
  7. Right click on Windows PowerShell > Run as administrator
  8. Run the following commands in the PowerShell window
    # change directory to the root of c:\
    cd \
    # clone from git
    git clone https://github.com/louislam/uptime-kuma.git .\uptime-kuma
    # change directory to uptime-kuma
    cd .\uptime-kuma\
    # install dependencies
    npm install
    # run setup
    npm run setup
    # run uptime kuma
    node server\server.js
  9. Open a web browser and navigate to http://DNSorIP:3001
  10. Select a language and create an administrator username and password > Click Create
  11. Welcome to Uptime Kuma

Run Uptime Kuma as a Service (Optional, but recommended)

  1. Press CTRL + C to kill the running Uptime Kuma process
  2. Click on the Start Button > Type task > Launch Task Scheduler
  3. Right click the Task Scheduler Library folder in the left pane > Create Basic Task...
  4. Set the name to Uptime Kuma and optionally set a Description > Click Next
  5. For the Trigger, select When the computer starts > Click Next
  6. For the Action, select Start a program > Click Next
  7. Complete the form fields as follows:

    Program/script: "%ProgramFiles%\nodejs\node.exe"
    Add arguments: C:\uptime-kuma\server\server.js
    Start in: C:\uptime-kuma

  8. Click Next
  9. Check the Open the Properties dialog checkbox > Click Finish
  10. In the Properties dialog, click the Change User or Group... button
  11. Type System in the Object name field > Click OK
  12. Check the Run with highest privileges box
  13. Click OK to create the scheduled task
  14. Right click the Uptime Kuma task > Run
  15. Refresh the open web browser to verify Uptime Kuma is now running from the scheduled task