Installing the CRE CLI on Windows
This page explains how to install the Chainlink Developer Platform CLI (also referred to as the CRE CLI) on Windows. The recommended version at the time of writing is v1.0.0.
Select your operating system
Installation
Choose your installation method:
- Automatic installation - Quick setup with a PowerShell script
- Manual installation - Download and install the binary yourself
Automatic installation
The easiest way to install the CRE CLI is using the installation script. Open PowerShell and run:
irm https://cre.chain.link/install.ps1 | iex
This script will:
- Download the correct binary for Windows
- Verify the binary's integrity
- Install it to a location in your PATH
- Make the binary executable
After the script completes, open a new PowerShell window and verify the installation:
cre version
Expected output: cre version v1.0.0
Manual installation
If you prefer to install manually or the automatic installation doesn't work for your environment, follow these steps:
The CRE CLI is publicly available on GitHub. Click the button below to access the releases page and download cre_windows_amd64.zip.
After downloading the file from the releases page, move on to the next step to verify its integrity.
1. Verify file integrity
Before installing, verify the file integrity using a checksum to ensure the binary hasn't been tampered with.
Check the SHA-256 checksum
Open a PowerShell terminal and run the following command in the directory where you downloaded the archive:
Get-FileHash cre_windows_amd64.zip -Algorithm SHA256
Verify against the official checksum
Compare the Hash value in the output with the official checksum below:
File | SHA-256 Checksum |
|---|---|
cre_windows_amd64.zip | 72ca89ddc043837e13e7076c3ee3d177f5bcfadd4be83184405aa2cec7eec707 |
If the checksum doesn't match, do not proceed with installation. Contact your Chainlink point of contact for assistance.
2. Extract and install
- Navigate to the directory where you downloaded the archive.
- Right-click the
.zipfile and select Extract All.... - Choose a permanent location for the extracted folder (e.g.,
C:\Program Files\cre-cli). - Inside the extracted folder, rename the file
cre_v1.0.0_windows_amd64.exetocre.exe.
3. Add the CLI to your PATH
To run cre commands from any directory, you need to add the folder where you saved cre.exe to your system's PATH environment variable.
- Open the Start Menu and search for "environment variables".
- Select Edit the system environment variables.
- In the System Properties window, click the Environment Variables... button.
- In the System variables section, find and select the
Pathvariable, then click Edit.... - Click New and add the full path to the folder where you saved
cre.exe(e.g.,C:\Program Files\cre-cli). - Click OK on all windows to save your changes.
4. Verify the installation
Open a new PowerShell or Command Prompt window and run:
cre version
You should see version information: cre version v1.0.0.
Next steps
Now that you have the cre CLI installed, you'll need to create a CRE account and authenticate before you can use it.
- Creating Your Account: Create your CRE account and set up two-factor authentication
- Logging in with the CLI: Authenticate the CLI with your account
Once you're authenticated, you're ready to build your first workflow:
- Getting Started ā Part 1: Project Setup & Simulation: Initialize a new, blank CRE project and run your first "Hello World!" simulation.