# Payroll Engine Client Setup This document describes how to install the [Payroll Engine Console Client](https://github.com/Payroll-Engine/PayrollEngine.PayrollConsole) on your local computer. The Console Client is required for automation, installation, and testing of regulations. ## Prerequisites In order to use the Payroll Engine Client, the Microsoft.NET Framework 9.0 must be installed. The Payrfoll Engine is based on the Microsoft.NET Framework 9.0. The following websites offer downloads for installation: - [Windows](https://dotnet.microsoft.com/en-us/download/dotnet/9.0/runtime?initial-os=windows): `Run console apps` > `Download x64` - [Linux](https://dotnet.microsoft.com/en-us/download/dotnet/9.0/runtime?initial-os=linux): `Run server apps` > `Install .NET` - [MacOS](https://dotnet.microsoft.com/en-us/download/dotnet/9.0/runtime?initial-os=macos): `Run server apps` > `Download x64 (Intel)` or `Download Arm64 (Apple Silicon)` ## Setup Installing Payroll Engine Client involves the following steps: 1. Download and extract the setup file 2. Register the data types 3. Set up applications ### 1. Download Setup The Payroll Engine setup is available as a zip download in the `Assets` > `PayrollEngineClient_v{n.n.n}.zip` of the current release. | 👉 **[Continue to Releases](https://github.com/Payroll-Engine/PayrollEngine/releases)** | |:------------------------| After unpacking the zip file into a local directory, the installation is ready. ### 2. Register File Types To automate the Payroll Engine, the file type `.pecmd` must be registered for the Payroll Console. To do this, run the following command file in Windows in *Administrator mode*: ```txt > FileType.Reg.cmd ``` > When registering the file type manually ([Windows](https://www.lifewire.com/how-to-change-file-associations-in-windows-2624477), [Linux](https://help.ubuntu.com/stable/ubuntu-help/files-open.html.en), [MacOS](https://support.apple.com/en-sa/guide/mac-help/mh35597/mac)), the file extension `.pecmd` must be assigned to the application `{SetupPath}/Console/PayrollEngine.PayrollConsole.exe`. ### 3. Setup Applications To start the setup, run the command: ```txt > Admin.cmd ```