# \#package-management

**URL:** https://ziggit.dev/tag/package-management/2.md

[Latest](https://ziggit.dev/latest.md) · [Categories](https://ziggit.dev/categories.md) · [Tags](https://ziggit.dev/tags.md)

---

## [How to depend on files with unrecognized by zig build system mime\_types?](https://ziggit.dev/t/how-to-depend-on-files-with-unrecognized-by-zig-build-system-mime-types/17973)

<div class="topic-metadata">

**Author:** [@AndrewKraevskii](https://ziggit.dev/u/AndrewKraevskii)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 9:21am UTC](https://ziggit.dev/t/how-to-depend-on-files-with-unrecognized-by-zig-build-system-mime-types/17973 "2026-10-15T09:21:36Z")

</div>

I want to write a parser for ifc file format to do some processing on them. Since its specification is published in EXPRESS (data modeling language) - Wikipedia I would write a parser for express which then generates pa…

---

## [\`TlsInitializationFailed\`: cannot build on 0.16](https://ziggit.dev/t/tlsinitializationfailed-cannot-build-on-0-16/16992)

<div class="topic-metadata">

**Author:** [@charlie](https://ziggit.dev/u/charlie)\
**Replies:** 5\
**Last updated:** [July 30, 2026, 3:09pm UTC](https://ziggit.dev/t/tlsinitializationfailed-cannot-build-on-0-16/16992 "2026-07-30T15:09:24Z")

</div>

CI fails, cannot reproduce locally: /\_\_w/xtxf/xtxf/build.zig.zon:8:20: error: unable to discover remote git server capabilities: TlsInitializationFailed .url = "git+https://codeberg.org/ziglang/translate-c?…

---

## [Dependency Cultures - Richard Feldman SSW 2026](https://ziggit.dev/t/dependency-cultures-richard-feldman-ssw-2026/16968)

<div class="topic-metadata">

**Author:** [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Replies:** 10\
**Last updated:** [July 29, 2026, 5:59pm UTC](https://ziggit.dev/t/dependency-cultures-richard-feldman-ssw-2026/16968 "2026-07-29T17:59:20Z")

</div>

---

## [Build.zig.zon: error: unable to unpack git files: PathAlreadyExists](https://ziggit.dev/t/build-zig-zon-error-unable-to-unpack-git-files-pathalreadyexists/16675)

<div class="topic-metadata">

**Author:** [@spineda2019](https://ziggit.dev/u/spineda2019)\
**Replies:** 15\
**Last updated:** [July 13, 2026, 9:18pm UTC](https://ziggit.dev/t/build-zig-zon-error-unable-to-unpack-git-files-pathalreadyexists/16675 "2026-07-13T21:18:48Z")

</div>

I’m currently working on a hobby OS (which I may also post about if I ever finish getting to userland), and I’ve been running into build issues on CI only on macos and windows (which I can only replicate on github CI sin…

---

## [An open-source package registry where you can browse, search and actually discover Zig libraries and applications](https://ziggit.dev/t/an-open-source-package-registry-where-you-can-browse-search-and-actually-discover-zig-libraries-and-applications/16335)

<div class="topic-metadata">

**Author:** [@etroynov](https://ziggit.dev/u/etroynov)\
**Replies:** 24\
**Last updated:** [July 12, 2026, 11:43am UTC](https://ziggit.dev/t/an-open-source-package-registry-where-you-can-browse-search-and-actually-discover-zig-libraries-and-applications/16335 "2026-07-12T11:43:46Z")

</div>

zigpkg.dev - a package registry for Zig (that also indexes Codeberg) Hey Zig folks :waving\_hand: For a while now I’ve been building zigpkg.dev - an open-source package registry where you can browse, search and actually…

---

## [Raylib example using the package manager](https://ziggit.dev/t/raylib-example-using-the-package-manager/1787)

<div class="topic-metadata">

**Author:** [@Sze](https://ziggit.dev/u/Sze)\
**Replies:** 33\
**Last updated:** [July 7, 2026, 4:52pm UTC](https://ziggit.dev/t/raylib-example-using-the-package-manager/1787 "2026-07-07T16:52:28Z")

</div>

Here is a fairly minimal example that uses raylib with the zig package manager. I might add some more links/resources or maybe other examples as branches some other time. https://github.com/SimonLSchlee/zigraylib Curr…

---

## [Atlas: Package indexing and management utility (without reinventing the world)](https://ziggit.dev/t/atlas-package-indexing-and-management-utility-without-reinventing-the-world/15930)

<div class="topic-metadata">

**Author:** [@xsawyerx](https://ziggit.dev/u/xsawyerx)\
**Replies:** 17\
**Last updated:** [June 25, 2026, 12:32pm UTC](https://ziggit.dev/t/atlas-package-indexing-and-management-utility-without-reinventing-the-world/15930 "2026-06-25T12:32:32Z")

</div>

TL;DR I’ve been prototyping Atlas, a package index and CLI for Zig focused on package discovery, immutable release records, and managing build.zig.zon. It’s not a replacement for Zig’s package system, does not create its…

---

## [Built a Zig dependency version-checker](https://ziggit.dev/t/built-a-zig-dependency-version-checker/16135)

<div class="topic-metadata">

**Author:** [@AstraLibernis](https://ziggit.dev/u/AstraLibernis)\
**Replies:** 0\
**Last updated:** [June 12, 2026, 12:53pm UTC](https://ziggit.dev/t/built-a-zig-dependency-version-checker/16135 "2026-06-12T12:53:22Z")

</div>

\[Zonar\]: So while talking to my LLM/AI friend on projects to try in Zig, I came across the fact that Zig has no centralized repo/library management (which is fine). But this also meant there’s no super easy way to check…

---

## [How to package a zig source module and how to use it](https://ziggit.dev/t/how-to-package-a-zig-source-module-and-how-to-use-it/3457)

<div class="topic-metadata">

**Author:** [@dimdin](https://ziggit.dev/u/dimdin)\
**Replies:** 17\
**Last updated:** [May 24, 2026, 7:38am UTC](https://ziggit.dev/t/how-to-package-a-zig-source-module-and-how-to-use-it/3457 "2026-05-24T07:38:17Z")

</div>

How to package a Zig source module In a zig source file, write public zig functions or types. In build.zig add a module for the zig source file. Create a build.zig.zon for the package, include all the source and build f…

---

## [Vendoring modified libraries](https://ziggit.dev/t/vendoring-modified-libraries/15168)

<div class="topic-metadata">

**Author:** [@sxoxy](https://ziggit.dev/u/sxoxy)\
**Replies:** 3\
**Last updated:** [April 25, 2026, 11:10am UTC](https://ziggit.dev/t/vendoring-modified-libraries/15168 "2026-04-25T11:10:32Z")

</div>

How would i go about this? I’m updating some libs to 0.16 fixing stuff as it comes up i tried grabbing the modified libraries from zig-pkg, tossing them to ./vendor/ and pointing build.zig.zon to those but i guess i’d h…

---

## [Usage of private repo in build.zig.zon](https://ziggit.dev/t/usage-of-private-repo-in-build-zig-zon/2904)

<div class="topic-metadata">

**Author:** [@ricknijhuis](https://ziggit.dev/u/ricknijhuis)\
**Replies:** 7\
**Last updated:** [April 15, 2026, 7:34pm UTC](https://ziggit.dev/t/usage-of-private-repo-in-build-zig-zon/2904 "2026-04-15T19:34:26Z")

</div>

Question is it possible to reference a private repo in the build.zig.zon file? Currently I am getting 404 unless I make the repo public. I am using the latest build of zig.

---

## [Zig Devlog ⚡ Two Package Management Workflow Enhancements](https://ziggit.dev/t/zig-devlog-two-package-management-workflow-enhancements/14228)

<div class="topic-metadata">

**Author:** [@dimdin](https://ziggit.dev/u/dimdin)\
**Replies:** 20\
**Last updated:** [February 13, 2026, 9:49pm UTC](https://ziggit.dev/t/zig-devlog-two-package-management-workflow-enhancements/14228 "2026-02-13T21:49:33Z")

</div>

Zig Devlog :high\_voltage: Two Package Management Workflow Enhancements

---

## [Proposal: \`zag\` – a small Zig tool for per-project Zig versions and declarative build.zig configuration](https://ziggit.dev/t/proposal-zag-a-small-zig-tool-for-per-project-zig-versions-and-declarative-build-zig-configuration/14149)

<div class="topic-metadata">

**Author:** [@felixuxx](https://ziggit.dev/u/felixuxx)\
**Replies:** 5\
**Last updated:** [February 8, 2026, 8:53pm UTC](https://ziggit.dev/t/proposal-zag-a-small-zig-tool-for-per-project-zig-versions-and-declarative-build-zig-configuration/14149 "2026-02-08T20:53:40Z")

</div>

Hi everyone, I’m not sure im in any position to be attempting such a thing because there’s a lot of things that i still dont understand enough about zig and i’ve also just joined the community a few days ago. I want to…

---

## [Avoiding use of packages due to constant breaking changes](https://ziggit.dev/t/avoiding-use-of-packages-due-to-constant-breaking-changes/14140)

<div class="topic-metadata">

**Author:** [@nairou](https://ziggit.dev/u/nairou)\
**Replies:** 4\
**Last updated:** [January 30, 2026, 4:44pm UTC](https://ziggit.dev/t/avoiding-use-of-packages-due-to-constant-breaking-changes/14140 "2026-01-30T16:44:26Z")

</div>

The package manager is great, the “problem” is due to Zig being so young and constantly changing, which means the available libraries people are developing are also constantly changing (or being left behind). In my proje…

---

## [Issues with gitlab and the package manager](https://ziggit.dev/t/issues-with-gitlab-and-the-package-manager/6442)

<div class="topic-metadata">

**Author:** [@prettypeasant](https://ziggit.dev/u/prettypeasant)\
**Replies:** 9\
**Last updated:** [January 16, 2026, 6:31pm UTC](https://ziggit.dev/t/issues-with-gitlab-and-the-package-manager/6442 "2026-01-16T18:31:11Z")

</div>

hello, im having issues related to the package management: when running: zig fetch --save https://gitlab.com/bztsrc/scalable-font2/-/archive/36ea8a3cea5cd4a2ca5cc292978da9c986f3958f/scalable-font2-36ea8a3cea5cd4a2ca5cc…

---

## [Whats the best way and/or what would you recommend as a solution/direction for resolving dependencies in a package manager?](https://ziggit.dev/t/whats-the-best-way-and-or-what-would-you-recommend-as-a-solution-direction-for-resolving-dependencies-in-a-package-manager/13893)

<div class="topic-metadata">

**Author:** [@D-Berg](https://ziggit.dev/u/D-Berg)\
**Replies:** 4\
**Last updated:** [January 11, 2026, 8:35am UTC](https://ziggit.dev/t/whats-the-best-way-and-or-what-would-you-recommend-as-a-solution-direction-for-resolving-dependencies-in-a-package-manager/13893 "2026-01-11T08:35:39Z")

</div>

Both run dependencies (libs) and build dependencies. I would prefer a simple, solution that is fast and scales well if it’s possible. To give some context, I thought it would be fun to write a package manager to replac…

---

## [Vanity package hashes](https://ziggit.dev/t/vanity-package-hashes/13897)

<div class="topic-metadata">

**Author:** [@castholm](https://ziggit.dev/u/castholm)\
**Replies:** 1\
**Last updated:** [January 10, 2026, 11:55pm UTC](https://ziggit.dev/t/vanity-package-hashes/13897 "2026-01-10T23:55:39Z")

</div>

The Zig package fingerprint is a 64-bit unsigned integer, with its higher 32 bits representing a checksum computed from the packages name and its lower 32 bits being a unique integer identifier used to help disambiguate …

---

## [zeP - A useful package manager for devs](https://ziggit.dev/t/zep-a-useful-package-manager-for-devs/13581)

<div class="topic-metadata">

**Author:** [@xerrs](https://ziggit.dev/u/xerrs)\
**Replies:** 1\
**Last updated:** [December 20, 2025, 4:53pm UTC](https://ziggit.dev/t/zep-a-useful-package-manager-for-devs/13581 "2025-12-20T16:53:56Z")

</div>

I really hated zig fetch, and the way that importing a single package takes multiple steps. Also, I did not have any Intellisense for my packages. So I build my own package manager, introducing, zeP. zeP is a simple p…

---

## [Packaging Zig as Python packages](https://ziggit.dev/t/packaging-zig-as-python-packages/7084)

<div class="topic-metadata">

**Author:** [@Kaeru](https://ziggit.dev/u/Kaeru)\
**Replies:** 10\
**Last updated:** [December 17, 2025, 8:51am UTC](https://ziggit.dev/t/packaging-zig-as-python-packages/7084 "2025-12-17T08:51:01Z")

</div>

Rust has a fantastic tool in maturin GitHub - PyO3/maturin: Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages in order to write libraries in Rust but provide them as…

---

## [Zig fetch error - could not be recognized as a file path](https://ziggit.dev/t/zig-fetch-error-could-not-be-recognized-as-a-file-path/13240)

<div class="topic-metadata">

**Author:** [@SpinTensor](https://ziggit.dev/u/SpinTensor)\
**Replies:** 2\
**Last updated:** [November 27, 2025, 8:07am UTC](https://ziggit.dev/t/zig-fetch-error-could-not-be-recognized-as-a-file-path/13240 "2025-11-27T08:07:12Z")

</div>

Hi, I want to fetch a repo from a gitlab server cloning it with git works fine git clone git@gitlab.the\_server\_of\_my\_choice.de:my\_id/my\_project.git But if I want to fetch it with zig fetch I get zig fetch --save git…

---

## [Bloaty mcbloatface and sizebench fall over on zig binaries](https://ziggit.dev/t/bloaty-mcbloatface-and-sizebench-fall-over-on-zig-binaries/12867)

<div class="topic-metadata">

**Author:** [@peterino2](https://ziggit.dev/u/peterino2)\
**Replies:** 4\
**Last updated:** [November 6, 2025, 7:17pm UTC](https://ziggit.dev/t/bloaty-mcbloatface-and-sizebench-fall-over-on-zig-binaries/12867 "2025-11-06T19:17:25Z")

</div>

Trying to understand a bit, I have some… interestingly large zig binaries and I’d like to know why they’re so big. I suspect they’re my C dependencies but it would be nice to know which ones are contributing to the size…

---

## [Zigistry: A registry for all Zig-lang packages and programs](https://ziggit.dev/t/zigistry-a-registry-for-all-zig-lang-packages-and-programs/11844)

<div class="topic-metadata">

**Author:** [@RohanVashisht1234](https://ziggit.dev/u/RohanVashisht1234)\
**Replies:** 3\
**Last updated:** [October 31, 2025, 8:41pm UTC](https://ziggit.dev/t/zigistry-a-registry-for-all-zig-lang-packages-and-programs/11844 "2025-10-31T20:41:55Z")

</div>

https://zigistry.dev/ Support: :star: This github repo, create PRs, discussions, any sort of support/contribution is welcomed :smiley:. How to add your zig library on this website? Just add a zig-package topic to y…

---

## [How stable is the package manager output and directory?](https://ziggit.dev/t/how-stable-is-the-package-manager-output-and-directory/12003)

<div class="topic-metadata">

**Author:** [@water-sucks](https://ziggit.dev/u/water-sucks)\
**Replies:** 4\
**Last updated:** [September 12, 2025, 11:41pm UTC](https://ziggit.dev/t/how-stable-is-the-package-manager-output-and-directory/12003 "2025-09-12T23:41:57Z")

</div>

I have created a Zig dependency fetching mechanism for nixpkgs at zig: replace generated dependencies with fixed-output derivations by water-sucks · Pull Request #438523 · NixOS/nixpkgs · GitHub using the Zig package man…

---

## [Trying to test a library where the original share library denpending on the user terminal location](https://ziggit.dev/t/trying-to-test-a-library-where-the-original-share-library-denpending-on-the-user-terminal-location/11889)

<div class="topic-metadata">

**Author:** [@Logickin](https://ziggit.dev/u/Logickin)\
**Replies:** 6\
**Last updated:** [September 7, 2025, 11:17am UTC](https://ziggit.dev/t/trying-to-test-a-library-where-the-original-share-library-denpending-on-the-user-terminal-location/11889 "2025-09-07T11:17:55Z")

</div>

I know it sounds a bit crazy about the title, so let me tell you what exactly happened. I will also find the author of the library if it is not solvable at the zig level. Awhile back, I have asked a question about linki…

---

## [Gitlab hosted package: unable to discover remote git server capabilities: CompressionUnsupported](https://ziggit.dev/t/gitlab-hosted-package-unable-to-discover-remote-git-server-capabilities-compressionunsupported/11339)

<div class="topic-metadata">

**Author:** [@fjc](https://ziggit.dev/u/fjc)\
**Replies:** 6\
**Last updated:** [August 13, 2025, 7:11am UTC](https://ziggit.dev/t/gitlab-hosted-package-unable-to-discover-remote-git-server-capabilities-compressionunsupported/11339 "2025-08-13T07:11:25Z")

</div>

Continuing the discussion from Issues with gitlab and the package manager: Weekly CI failed again today: 0.15.0-dev.1393+493265486 /usr/local/bundle/gems/zigrb-0.0.1/ext/build.zig.zon:40:20: error: unable to discover …

---

## [Why has the package manager not been added to the official language overview?](https://ziggit.dev/t/why-has-the-package-manager-not-been-added-to-the-official-language-overview/2396)

<div class="topic-metadata">

**Author:** [@Robertismo](https://ziggit.dev/u/Robertismo)\
**Replies:** 10\
**Last updated:** [May 20, 2025, 10:20am UTC](https://ziggit.dev/t/why-has-the-package-manager-not-been-added-to-the-official-language-overview/2396 "2025-05-20T10:20:14Z")

</div>

Hey! Was wondering if there was a reason why the package manager released in 0.11 hasn’t been mentioned in the official language overview? Currently if people search “zig package manager” they mainly get third-party arti…

---

## [ZLS not pulling in information from dependencies](https://ziggit.dev/t/zls-not-pulling-in-information-from-dependencies/4179)

<div class="topic-metadata">

**Author:** [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Replies:** 3\
**Last updated:** [April 17, 2025, 1:35pm UTC](https://ziggit.dev/t/zls-not-pulling-in-information-from-dependencies/4179 "2025-04-17T13:35:02Z")

</div>

I’m starting to use packages. However when I add a dependency and start using it I’m unable to get any language server information (e.g, go to definition, function declaration information, completion suggestions) about t…

---

## [How to make Zig package manager re-download dependencies?](https://ziggit.dev/t/how-to-make-zig-package-manager-re-download-dependencies/3465)

<div class="topic-metadata">

**Author:** [@Durobot](https://ziggit.dev/u/Durobot)\
**Replies:** 13\
**Last updated:** [April 12, 2025, 12:25pm UTC](https://ziggit.dev/t/how-to-make-zig-package-manager-re-download-dependencies/3465 "2025-04-12T12:25:30Z")

</div>

Thank you. I have another question - is there a way to make Zig package manager re-download dependencies? I’ve been playing with my local lib + lib user project, and I have noticed you have to delete Zig global cache t…

---

## [Use of the name Zig in package names](https://ziggit.dev/t/use-of-the-name-zig-in-package-names/7383)

<div class="topic-metadata">

**Author:** [@castholm](https://ziggit.dev/u/castholm)\
**Replies:** 12\
**Last updated:** [December 17, 2024, 2:08am UTC](https://ziggit.dev/t/use-of-the-name-zig-in-package-names/7383 "2024-12-17T02:08:18Z")

</div>

I believe it stems from this discussion (which I recommend reading to the end) which resulted in this commit Personally, I strongly disagree with the conclusion that zig in the package name is always redudant. If…

---

## [What to put in the version field of my build.zig.zon?](https://ziggit.dev/t/what-to-put-in-the-version-field-of-my-build-zig-zon/7335)

<div class="topic-metadata">

**Author:** [@jeffective](https://ziggit.dev/u/jeffective)\
**Replies:** 1\
**Last updated:** [December 15, 2024, 5:03pm UTC](https://ziggit.dev/t/what-to-put-in-the-version-field-of-my-build-zig-zon/7335 "2024-12-15T17:03:51Z")

</div>

The docs for build.zig.zon and I think most comments by the zig team on the package manager state that I should put the semantic version of my package into the .version field of my build.zig.zon file. Is this the recomm…

[Next page](https://ziggit.dev/tag/package-management/2.md?match_all_tags=true&page=1&tags%5B%5D=package-management)
