**agetpkg** is a command line tool used to quickly list/get/install packages stored on the [Archlinux Archive](https://wiki.archlinux.org/index.php/Arch_Linux_Archive).
**agetpkg** means **A**rchive **G**et **P**ackage.
Usage
-----
###### Download xterm version 296
```bash
agetpkg ^xterm$ 296
# or
agetpkg -g ^xterm$ 296
```
###### List xterm version 296
```bash
agetpkg -l ^xterm$ 296
```
###### Install all gvfs packages in version 1.26.0 release 3
```bash
agetpkg -i gvfs 1.26.0 3
```
###### List only i686 packages of nftables
```bash
agetpkg -l-A i686 -- nftables
```
###### Force update of the index before listing packages matching i3