---
title: "brew pin"
url: https://perrotta.dev/2026/07/brew-pin/
last_updated: 2026-07-18
---


**TIL**: [`brew pin`](https://docs.brew.sh/FAQ#:~:text=brew%20upgrade%20%3Cformula%3E-,How%20do%20I%20stop%20certain%20formulae%20from%20being%20updated%3F,-To%20stop%20something).

For reasons to be elaborated in another post, I am currently prevented from
upgrading [LogSeq](https://logseq.com/) to its latest version in homebrew:

```shell
% brew outdated
[...]
logseq (0.10.14) != 2.0.1
[...]
```

[LogSeq v2](https://news.ycombinator.com/item?id=48896229) introduces breaking
changes to my workflow. I found this out the hard way. As put by `Valodim` in HN:

> And now after several years of complete stagnation, the supposed improvement
> is a database format to fix their technical issues, so I can no longer keep
> all my data as markdown files? At a time when half the edits are done by
> Claude and tracked with jujustu, this is just not useful for me.
>
> All I wanted was the original vision, but with less bugs and more quality of
> life features.

As such, I would like to settle in the current version for now. Pinning to the
rescue!

```shell
% brew pin logseq
Warning: logseq has `auto_updates true` and may update itself outside Homebrew despite being pinned.

% brew list --pinned
logseq

% brew outdated
[...]
logseq (0.10.14) != 2.0.1 [pinned at 0.10.14]
[...]
```

That's all.

To unpin it in the future:

```shell
% brew unpin logseq
```

