---
name: "App::CLI::Command::Version"
section: "3pm"
platform: "linux"
package: "perl-app-cli"
version: "0.52-8"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/App::CLI::Command::Version"
---

# App::CLI::Command::Version(3pm)

Print a preformatted version string

## NAME

App::CLI::Command::Version - Print a preformatted version string

## SYNOPSIS

```
    package MyApp;
    use base qw(App::CLI App::CLI::Command);
    use constant alias => (
        '--version' => '+App::CLI::Command::Version',
          'version' => '+App::CLI::Command::Version',
        # Other aliases
    );
    # Your app now supports a default version command and option
```

## DESCRIPTION

This is package provides a default `"version"` command modelled after that of App::Cmd. You can modify the default message by subclassing this command and overriding its `"run"` method, or by modifying it with eg. Class::Method::Modifiers.
