Solved Question re pkg

Greeting all,

just out of curiosity, when a new version of pkg is available, how does the current version of pkg install it?

Kindest regards,

Normally, pkg is quite capable of upgrading itself. It's even smart enough to install its new version first and automatically restart itself to finish upgrading other packages when doing a multi-package upgrade that include a new version of pkg.
Some of the earlier versions are not capable of updating themselves to the latest ones, in that case you should do this:

# /usr/sbin/pkg bootstrap -f