Version: 2021.1
Installing a package from a local folder
Installing from a Git URL

Installing a package from a local tarball file

The Package Manager can load a package from a tarball file stored locally. This is for advanced scenarios where you break your package publishing workflow into parts and your users can use the intermediate product of one of those parts.

For example, if you have set up continuous integration (CI) on your custom package repository, you can use the npm pack or Unity Package Manager’s Pack API to create a Gzip tarball file from a package folder. In that case, you likely want to test the tarball file before you publish it to a custom registry.

To load a package from a local tarball file:

  1. Click the add button in the status bar.

  2. The options for adding packages appear.

    Add package from tarball button
    Add package from tarball button
  3. Select Add package from tarball from the add menu to bring up a file browser.

  4. Navigate to the folder where you saved your tarball.

    Note: The Package Manager only recognizes tarballs with the .tgz extension.

  5. Double-click the tarball file in the file browser.

The file browser closes, and the package now appears in the package list with the local tag.


Installing a package from a local folder
Installing from a Git URL