Skip to content

Commit 761f7fb

Browse files
committed
Update the README with newer instructions for installing CBMC on macOS
1 parent f11b5ce commit 761f7fb

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

README.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,34 @@ For different linux environments, you have these choices:
6464

6565
### macOS
6666

67-
For macOS there is a [Homebrew](https://brew.sh) package
68-
[available](https://formulae.brew.sh/formula/cbmc). Once you have installed
69-
Homebrew, simply run
67+
For macOS there is a package available in [Homebrew/core](https://formulae.brew.sh/formula/cbmc).
68+
Assuming you have homebrew installed, you can run
7069

71-
brew install cbmc
70+
```sh
71+
$ brew install cbmc
72+
```
7273

73-
to install cbmc, or if you already have it installed via homebrew
74+
to install CBMC, or if you already have it installed via homebrew
7475

75-
brew upgrade cbmc
76+
```sh
77+
$ brew upgrade cbmc
78+
```
7679

7780
to get an up-to-date version.
7881

82+
Homebrew will always update formulas to their latest version available, so you may
83+
periodically see an upgraded version of CBMC being downloaded regardless of whether
84+
you explicitly requested that or not. If you would rather this didn't happen, you
85+
can pin the CBMC version with:
86+
87+
```sh
88+
$ brew pin cbmc
89+
```
90+
91+
If instead of the latest version, you would want to install a historic version, you
92+
can do so with a [homebrew tap](https://github.com/diffblue/homebrew-cbmc) that we
93+
maintain. Instructions for that are available in the [documentation](doc/ADR/homebrew_tap.md)
94+
7995
Report bugs
8096
===========
8197

0 commit comments

Comments
 (0)