Version: 2023.2
Language : English
Install a package from a local folder
Install a package from a Git URL

Install 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 install a package from a local tarball file:

  1. Open the Package Manager window, if it’s not already open.

  2. Click the install button in the toolbar. The options for installing packages appear.

    Install package from tarball button
    Install package from tarball button
  3. Select Install package from tarball from the install 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 label.


Install a package from a local folder
Install a package from a Git URL
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961