Say you're using pgvm to manage several versions of Postgres and you need to install the PostGIS extension.