Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Sep 3, 2024
1 parent e073989 commit ac3b6f5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,24 +257,24 @@ choco install dart-sdk --version 2.13.4
To stop Chocolatey from automatically updating Dart to the latest version, pin it:

<pre>
choco pin --name="'dart-sdk'" --version="'2.13'"
choco pin --name="'dart-sdk'" --version="'2.13.4'"
</pre>

</details>

<details><summary><strong>macOS</strong></summary>
First, install <a href="https://brew.sh/">Homebrew</a> if you haven't already. If <code>brew -v</code> shows some version numbers, then you've set it up correctly.

Then, install Dart 2.13:
Then, install Dart 2.13.4:

<pre>
brew install [email protected]
brew install [email protected].4
</pre>

To stop Homebrew from automatically updating Dart to the latest version, pin it:

<pre>
brew pin [email protected]
brew pin [email protected].4
</pre>

If running `dart` in a terminal now does not work, you may need to follow <a href="https://docs.brew.sh/FAQ#my-mac-apps-dont-find-homebrew-utilities">these instructions</a>.
Expand All @@ -290,17 +290,17 @@ wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo gpg --dea
echo 'deb [signed-by=/usr/share/keyrings/dart.gpg arch=amd64] https://storage.googleapis.com/download.dartlang.org/linux/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list
</pre>

Then, install Dart 2.13:
Then, install Dart 2.13.4:

<pre>
sudo apt-get update
sudo apt-get install dart=2.13
sudo apt-get install dart=2.13.4
</pre>

To stop apt from automatically updating Dart to the latest version, hold it:

<pre>
sudo apt-mark hold dart=2.13
sudo apt-mark hold dart=2.13.4
</pre>

</details>
Expand Down

0 comments on commit ac3b6f5

Please sign in to comment.