Install ecli and ecc
- Install the ecli tool for running eBPF program from the cloud:
-
Install the
eclitool for running eBPF program from the cloud:$ wget https://aka.pw/bpf-ecli -O ecli && chmod +x ./ecli $ ./ecli -h ecli subcommands, including run, push, pull Usage: ecli [COMMAND_LINE]... [COMMAND] .... -
Install the
ecccompiler-toolchain for compiling eBPF kernel code to aconfigfile orWasmmodule(clang,llvm, andlibclangshould be installed for compiling):$ wget https://github.com/eunomia-bpf/eunomia-bpf/releases/latest/download/ecc && chmod +x ./ecc $ ./ecc -h eunomia-bpf compiler Usage: ecc [OPTIONS] <SOURCE_PATH> [EXPORT_EVENT_HEADER] ....or use the docker image for compile:
# for x86_64 and aarch64 docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest # compile with docker. `pwd` should contains *.bpf.c files and *.h files. -
build the compiler, runtime library and tools:
see build for building details.
Continue exploring
Back to index
eunomia-bpf Documentation
Simplify eBPF development with CO-RE and WebAssembly. Build, compile, and distribute eBPF programs easier with automatic code generation.
Previous
build from source
If you want to run the cli, in most cases, you don't need to build your own.
Next
supporting-external-BTF
``conf CONFIGDEBUGINFO=y CONFIGDEBUGINFOBTF=y ``
- Last updated
- Mar 8, 2026
- First published
- Feb 10, 2025
- Contributors
- 云微, weekendfish
Was this page helpful?