<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig" -->

---
title: Fetch artifacts directly from FlakeHub Cache using fh fetch
description: Determinate Systems has added a `fh fetch` command to the fh CLI (version 0.1.22+) that lets users pull Nix build closures directly from FlakeHub Cache without...
canonical: https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Fetch artifacts directly from FlakeHub Cache using fh fetch | daily.dev
og:description: Determinate Systems has added a `fh fetch` command to the fh CLI (version 0.1.22+) that lets users pull Nix build closures directly from FlakeHub Cache without...
og:url: https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig
og:image: https://api.daily.dev/og/posts/swPKQK0IG.png
og:image:alt: Fetch artifacts directly from FlakeHub Cache using fh fetch
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch artifacts directly from FlakeHub Cache using fh fetch

**[Determinate Systems](https://daily.dev/sources/determinate-systems)** · 4 min read · 0 upvotes · 0 comments

## Summary

Determinate Systems has added a `fh fetch` command to the fh CLI (version 0.1.22+) that lets users pull Nix build closures directly from FlakeHub Cache without running a local build. Instead of building locally, teams can build in CI, push artifacts to FlakeHub Cache, and then fetch them on demand using a flake output reference. A key use case highlighted is fetching OCI container images — particularly useful for macOS developers who can't build Linux containers locally. FlakeHub Caches are private, so only authorized org members can fetch. This positions FlakeHub as a secure artifact distribution platform beyond just flake hosting and binary caching.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://determinate.systems/blog/fh-fetch>

## Similar posts on daily.dev

- [Changelog: FlakeHub Cache edge routing and a few crash fixes](https://daily.dev/posts/changelog-flakehub-cache-edge-routing-and-a-few-crash-fixes-umodwxeoj) · Determinate Systems · 0 upvotes · 0 comments
- [Changelog: faster evaluation and FedRAMP cache keys](https://daily.dev/posts/changelog-faster-evaluation-and-fedramp-cache-keys-qbkpwjrox) · Determinate Systems · 0 upvotes · 0 comments
- [Garnix Blog: Fix your FODs](https://daily.dev/posts/garnix-blog-fix-your-fods-r4plobjs4) · Lobsters · 0 upvotes · 0 comments

---

Tags: [#cicd](https://daily.dev/tags/cicd)

[View this post on daily.dev](https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Fetch artifacts directly from FlakeHub Cache using fh fetch","url":"https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig"},"datePublished":"2026-07-26T07:48:40.127Z","dateModified":"2026-07-26T07:51:37.278Z","description":"Determinate Systems has added a `fh fetch` command to the fh CLI (version 0.1.22+) that lets users pull Nix build closures directly from FlakeHub Cache without...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a557a8bed1b7001adf6b0fd128f9181c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a557a8bed1b7001adf6b0fd128f9181c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Determinate Systems","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Determinate Systems","logo":"https://media.daily.dev/image/upload/s--E2qrkc9w--/c_limit,w_256/f_auto,q_auto/v1785052094/logos/determinate-systems?_a=BAMAMicg0","url":"https://daily.dev/sources/determinate-systems"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/fetch-artifacts-directly-from-flakehub-cache-using-fh-fetch-swpkqk0ig","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cicd","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Determinate Systems","item":"https://daily.dev/sources/determinate-systems"},{"@type":"ListItem","position":3,"name":"Fetch artifacts directly from FlakeHub Cache using fh fetch"}]}
```

