﻿# dotenvx armor status

> Print Armor status

[dotenvx armor](/docs/cli/armor/introduction/)

```cli
$ dotenvx armor status
```

## Usage

```console
$ dotenvx armor status
on
```

The command prints `on` when you are logged in and Armor is enabled. Otherwise, it prints `off`.

Requires the armor build feature. Add it with [dotenvx install --add](/docs/cli/install/#add).

The examples below use the command syntax from Dotenvx 2.38.2 help. Core 3.0.0-rc2 requires the Armor feature to display subcommand help.

## Check whether Armor is enabled

In a shell script, test for the documented on status before continuing.

```console
$ dotenvx armor status | grep -qx on && echo 'Armor is enabled'
```

## Global options

- [--quiet](/docs/cli/quiet/)
- [--verbose](/docs/cli/verbose/)
- [--debug](/docs/cli/debug/)
- [--log-level](/docs/cli/log-level/)
