Prints the version of avar you are running.
This is exactly what avr help version or avr version --help prints.
Usage:
avr version
Print the avr version. Also available as `avr --version`.
Selector flags such as --arch and --distro must come before the command; run `avr --help` to see them.
avr version
avr --version
avr -v
Prints one line to standard output, such as avr v0.11.3, and exits 0. Like
help, it touches no state and needs no backend.
--version and -v count only in avar’s flag position. After a command’s
name they belong to that command: avr -- node -v asks Node.js for its
version.
When reporting a problem, include this line.
| Status | When |
|---|---|
0 |
Always, once the command line has been read |
2 |
The command line could not be read |