# FTXUI: Bazel

Loading...
Searching...
No Matches
Bazel

FTXUI can be integrated into your project using Bazel with Bzlmod (Bazel modules).

The library is registered in the Bazel Central Registry

MODULE.bazel

bazel_dep(name = "ftxui", version = "6.1.9")

BUILD.bazel

cc_binary(
name = "main",
srcs = ["main.cpp"],
deps = [
"@ftxui//:component",
"@ftxui//:dom",
"@ftxui//:screen",
],
)

## Starter Project

You can use the official Bazel starter project for a minimal working setup:

- ftxui-bazel (starter)

Previous
Getting Started