DEV Community

xerrs
xerrs

Posted on

zeP - Zigs missing Package Manager

Previously, when I was programming in Zig, I wanted to use a few packages off of GitHub, and I really, and I mean it, really hated copying and pasting the instructions off of their GitHub page, and I thought to myself, "There has to be a better way." Now there is, introducing zeP.

https://github.com/XerWoho/zeP

zeP is a simple package manager, currently in BETA version, handling various popular packages, allowing Zig version management (as well as zeP version management). It fetches the packages, stores them in zep.json, removes useless folders such as tests, whatsoever, and then caches them using zstd, for easier installs.

Do you hate zig init for being to bloaty, and zig init --minimal for being, well, too unbloaty? Now create your own prebuilt using zep prebuilt build , which will store your current folder under a name, which you can then import by using zep prebuilt use . Because of the simplicity of the prebuilt function, you can literally use it for anything, whether it is a NodeJS express server, or a python flask API.

With the simple documentation and easy to follow instructions, you can kick-start a simple zeP project ASAP, and enjoy the speed, and intellisense, WITHOUT needing to copy anything anywhere, zeP does it ALL for you.

If you feel like zeP could be useful for you, give it a try. Windows, Linux and macOS support, AUR and Homebrew, your call. Any suggestions, fixes, or anything, I am happy for feedback.

Top comments (0)