---
name: "alpm-srcinfo-validate"
section: "1"
platform: "linux"
package: "alpm-srcinfo"
version: "0.7.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/alpm-srcinfo-validate"
---

# alpm-srcinfo-validate(1)

Validate a SRCINFO file from a path or \`stdin\`

## NAME

alpm-srcinfo-validate - Validate a SRCINFO file from a path or \`stdin\`

## SYNOPSIS

**alpm-srcinfo validate** \[**-s**\|**--schema**\] \[**-h**\|**--help**\] \[*FILE*\]

## DESCRIPTION

Validate a SRCINFO file from a path or \`stdin\`.

If the file can be validated, the program exits with no output and a return code of 0. If the file can not be validated, an error is emitted on stderr and the program exits with a non-zero exit status.

## OPTIONS

- **-s**, **--schema** *\<VERSION\>*

  Provide the SRCINFO schema version to use.

  If no schema version is provided, it will be deduced from the file itself.

- **-h**, **--help**

  Print help (see a summary with '-h')

- \[*FILE*\]

  An optional input file path to read from

  If no file is specified, stdin is read from and expected to contain PKGINFO data to validate.
