<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Homebrew on Barn</title><link>https://barn.pgsty.com/v1.5/tags/homebrew/</link><description>Recent content in Homebrew on Barn</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 30 Oct 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://barn.pgsty.com/v1.5/tags/homebrew/index.xml" rel="self" type="application/rss+xml"/><item><title>Barn 0.9.2: signed Barn.app and explicit SSH/exec arguments</title><link>https://barn.pgsty.com/v1.5/release/0.9.2/</link><pubDate>Fri, 30 Oct 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/0.9.2/</guid><description>&lt;p&gt;&lt;strong&gt;Released on 2026-10-30.&lt;/strong&gt; GitHub marks 0.9.2 as a pre-release.&lt;/p&gt;&#10;&lt;p&gt;Barn 0.9.2 includes the complete native macOS guest runtime in the Apple Silicon download and Homebrew installation. You can create Linux and macOS VMs after installing a single package, without installing Go or Xcode.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://barn.pgsty.com/v1.5/docs/start/installation/"&gt;Install Barn&lt;/a&gt; · &lt;a href="https://github.com/pgsty/barn/releases/tag/v0.9.2"&gt;Download 0.9.2&lt;/a&gt; · &lt;a href="https://github.com/pgsty/barn/blob/v0.9.2/.github/releases/0.9.2.md"&gt;Source release notes&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="changes"&gt;Changes&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The Darwin arm64 archive contains &lt;code&gt;barn&lt;/code&gt;, &lt;code&gt;barn-hosts-helper&lt;/code&gt;, and &lt;code&gt;Barn.app&lt;/code&gt; from the same source commit. All three executables use Developer ID signatures and are submitted together for Apple notarization; the app carries a stapled ticket and passes Gatekeeper assessment.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;brew install pgsty/infra/barn&lt;/code&gt; installs the CLI, QEMU, helper, and native app. The CLI discovers the app under Homebrew&amp;rsquo;s &lt;code&gt;libexec&lt;/code&gt;. macOS guests require Apple Silicon, macOS 27+, and a logged-in desktop session.&lt;/li&gt;&#10;&lt;li&gt;The helper is signed before its final SHA-256 is embedded in the CLI. Packaging checks the pair again after attaching the native payload to the release archive.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;ssh&lt;/code&gt;, &lt;code&gt;exec&lt;/code&gt;, &lt;code&gt;mac ssh&lt;/code&gt;, and &lt;code&gt;mac exec&lt;/code&gt; require &lt;code&gt;--&lt;/code&gt; before remote commands. SSH passes a command line to the guest shell; exec preserves individual arguments. Use &lt;code&gt;sh -c&lt;/code&gt; with exec for pipelines or redirection.&lt;/li&gt;&#10;&lt;li&gt;Linux arm64/amd64 and Intel macOS continue to ship the CLI and helper for QEMU Linux guests.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="install-and-use"&gt;Install and use&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-33a963aa-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="13"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-33a963aa-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;brew install pgsty/infra/barn&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn version&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Linux guest&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn up&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn ssh&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn &lt;span class="nb"&gt;exec&lt;/span&gt; meta -- uname -a&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# macOS guest on Apple Silicon / macOS 27+&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn mac doctor&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn mac up mac1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn mac open mac1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn mac ssh mac1&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The first macOS VM downloads Apple&amp;rsquo;s restore image and prepares a reusable base installation. Supply an existing compatible IPSW with &lt;code&gt;barn mac setup --ipsw PATH&lt;/code&gt; to use a local restore image.&lt;/p&gt;</description></item></channel></rss>