Automatic: AutoDependencies
Manual: ManualDependencies
Download the latest pbrtExporterWithIile.zip
from Releases.
In Blender, File -> User Preferences -> Add-ons select Install Add-on from File...
and choose the file you downloaded. Tick the box to enable the exporter.