---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# valac

> Vala code compiler.
> Tutorial: <https://wiki.gnome.org/Projects/Vala/Tutorial>.
> More information: <https://docs.vala.dev/tutorials/programming-language/main/07-00-tools/07-01-valac.html>.

- Compile a vala file, with gtk+:

`valac {{path/to/file.vala}} --pkg {{gtk+-3.0}}`

- Display help:

`valac --help`

- Display version:

`valac --version`
