pgxnclient
does not normally ship with PostgreSQL, so you will probably have to install it manually.
The PGXN Client is a command line tool designed to interact with the PostgreSQL Extension Network allowing searching, compiling, installing, and removing extensions in PostgreSQL databases.
On Ubuntu you can install using apt
apt-get install pgxnclient
On MacOs you can install using brew
brew install pgxnclient