The pkg install command is used by the zone administrator in the non-global zone to add the package to the non-global zone only. To add a package in a specified non-global zone, execute the pkg install command as the zone administrator.
Package dependencies are handled automatically in IPS.