Skip to content

Commit e4bfdf5

Browse files
author
Auke Geerts
authored
fix(docs): use --cask in brew commands (NativeScript#1946)
* Remove cask from brew commands It is no longer required to install cask packages with `brew cask`, since it has been integrated within brew itself in version 2.5. See the release notes for more information https://brew.sh/2020/09/08/homebrew-2.5.0/ * Add cask flag to brew commands
1 parent b7d7b89 commit e4bfdf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/start/ns-setup-os-x.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Complete the following steps to setup NativeScript on your macOS development mac
102102
<pre class="add-copy-button"><code class="language-terminal">brew tap AdoptOpenJDK/openjdk
103103
</code></pre>
104104
105-
<pre class="add-copy-button"><code class="language-terminal">brew cask install adoptopenjdk8
105+
<pre class="add-copy-button"><code class="language-terminal">brew install --cask adoptopenjdk8
106106
</code></pre>
107107
108108
2. Set the JAVA_HOME system environment variable.
@@ -113,7 +113,7 @@ Complete the following steps to setup NativeScript on your macOS development mac
113113
3. Install the [Android SDK](http://developer.android.com/sdk/index.html).
114114
1. In the terminal, run the following command:
115115
116-
<pre class="add-copy-button"><code class="language-terminal">brew cask install android-sdk
116+
<pre class="add-copy-button"><code class="language-terminal">brew install --cask android-sdk
117117
</code></pre>
118118
119119
2. Next, run the following command to set the ANDROID_HOME system environment variable:

0 commit comments

Comments
 (0)