# introduce the 'zig fetch' command \+ symlink support · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ef9966c9855dd855afda767f212abec6e5a36307)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ef9966c9855dd855afda767f212abec6e5a36307

Requested commit: ef9966c9855dd855afda767f212abec6e5a36307

Commit: ef9966c9855dd855afda767f212abec6e5a36307

Tree: 4f23d4468f3d9d44c16868becad6b0c6bb9083d8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
introduce the 'zig fetch' command + symlink support

zig fetch [options] <url>
zig fetch [options] <path>

Fetches a package which is found at <url> or <path> into the global
cache directory, printing the package hash to stdout.

Closes #16972
Related to #14280

Additionally, this commit:

* Adds uncompressed .tar support to package fetching
* Introduces symlink support to package fetching

```

## Parents

- [309c53295f26999065e4dc76cef4d90f8d85fb38](https://git.cafe/gitcafe/zig/commit/309c53295f26999065e4dc76cef4d90f8d85fb38?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ef9966c9855dd855afda767f212abec6e5a36307?format=markdown)
