-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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>. | ||
|
@@ -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> | ||
|