Home > Article > Development Tools > how to install github actions runner
This article provides comprehensive instructions on installing GitHub Actions runner on Linux, Windows, and macOS. It covers the essential steps required to download, extract, and configure the runner for running workflow jobs on GitHub. The article
How to install GitHub Actions runner on Linux, Windows, and macOS
How to install GitHub Actions runner on Linux?
To install GitHub Actions runner on Linux, follow these steps:
Make the runner package executable:
<code>chmod +x actions-runner-linux-x64-2.290.0.tar.gz</code>
Extract the runner package:
<code>tar -xzvf actions-runner-linux-x64-2.290.0.tar.gz</code>
Navigate to the extracted runner directory:
<code>cd actions-runner-linux-x64-2.290.0</code>
Run the runner:
<code>./config.sh --url https://github.com/<YOUR_ORG>/<YOUR_REPO> --token <YOUR_TOKEN></code>
Start the runner service:
<code>sudo ./svc.sh install sudo ./svc.sh start</code>
How to install GitHub Actions runner on Windows?
To install GitHub Actions runner on Windows, follow these steps:
Start the runner service:
<code>sc start GitHubActions</code>
How to install GitHub Actions runner on macOS?
To install GitHub Actions runner on macOS, follow these steps:
Start the runner service:
<code>launchctl start com.github.GithubActionsRunner</code>
The above is the detailed content of how to install github actions runner. For more information, please follow other related articles on the PHP Chinese website!