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 tag.


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