Other Installation Options

--no-index

By default, search indexes are updated when you install, update, or uninstall packages. Use the --no-index option to not update search indexes after successful completion of these operations. Specifying this option might save some time if you are installing a large number of packages. When you are finished with all install, update, and uninstall operations, you can use pkg refresh to update the list of available packages and publisher metadata for each publisher specified. If no publishers are specified, the refresh is performed for all publishers. This option is available for the install, exact-install, uninstall, and update subcommands.

--no-refresh

When you specify the --no-refresh option, the repositories for the image's publishers are not contacted to retrieve the newest list of available packages and other metadata. This option is available for the install, exact-install, and update subcommands.