---
name: "g-ir-generate"
section: "1"
platform: "linux"
package: "gobject-introspection"
version: "1.86.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/g-ir-generate"
---

# g-ir-generate(1)

Typelib generator

## NAME

g-ir-generate - Typelib generator

## SYNOPSIS

**g-ir-generate** \[OPTION...\] FILES...

## DESCRIPTION

g-ir-generate is an GIR generator, using the repository API. It generates GIR files from a raw typelib or in a shared library (**--shlib**). The output will be written to standard output unless the **--output** is specified.

## OPTIONS

- **--help**

  Show help options

- **--shlib=***FILENAME*

  The shared library to read the symbols from.

- **--output=***FILENAME*

  Save the resulting output in FILENAME.

- **--version**

  Show program's version number and exit

## BUGS

Report bugs at *https://gitlab.gnome.org/GNOME/gobject-introspection/issues*

## HOMEPAGE AND CONTACT

*https://gi.readthedocs.io/*

## AUTHORS

Mattias Clasen
