If you want to write workflows, please use the public documentation: https://docs.chain.link/cre
This README is intended for CRE CLI developers (maintainers/contributors), not CRE end users.
A Go/Cobra-based command-line tool for building, testing, and managing Chainlink Runtime Environment (CRE) workflows. This repository contains the CLI source code and developer tooling.
-
Clone the repository:
git clone https://github.com/smartcontractkit/cre-cli.git cd cre-cli -
Make sure you have Go installed. You can check this with:
go version
Developer commands are available via the Makefile:
-
Install dependencies/tools
make install-tools
-
Build the binary (for local testing)
make build
-
Run linters
make lint
-
Regenerate CLI docs (when commands/flags change)
make gendoc
For a list of all commands and their descriptions, please refer to the docs folder.
By using the CRE CLI tool, you agree to the Terms of Service (https://chain.link/terms) and Privacy Policy (https://chain.link/privacy-policy).