CircleCI Runner Installation on Windows

This page describes how to install CircleCI runner on Windows.

Please review the Installing the CircleCI Runner page to verify prerequisites and authentication.
This has been tested for Windows Server 2019 and Windows Server 2016, both in Datacenter Edition with Desktop Experience.

With this procedure, you install CircleCI Launch Agent and its dependencies, i.e., Chocolatey, Git and Gzip, on your Windows Server.

Since this setup creates a new local administrator user that runs CircleCI jobs, your Windows Server needs to be capable of creating local users and accepting remote logons for them.

  • The Windows Server needs to be a domain member when you set this up in domain environments. The runner instance cannot run on a Windows Server operating as a domain controller.

Installation Steps

  1. Download the Install-CircleCIRunner.ps1 script from Github to an easily accessible location.

  2. Open PowerShell as an administrator and navigate to the directory where you placed the script file.

  3. Run the following in your PowerShell:

    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;

    The installation will be output into your PowerShell interface.

  4. As part of the installation, the configuration file for the Runner (launch-agent-config.yaml) will open in Notepad. Please fill the file out with the requested information (see Runner Configuration Reference). The configuration file is located in the installation directory - C:\Program Files\CircleCI, by default.

After setup completes, the Launch Agent starts automatically and begins looking for jobs to process.


このガイドは、CircleCI の他のドキュメントと同様にオープンソースで、GitHub で使用できます。 ご協力いただき、ありがとうございます。

CircleCICircleCI ドキュメントは、クリエイティブ・コモンズの表示--非営利-継承 4.0 国際ライセンス に基づいてライセンス供与されています。