Skip to content

Commit 94b2b17

Browse files
authored
Merge pull request github#6177 from skyzyx/patch-1
Update getting-started-with-the-codeql-cli.rst
2 parents ed054ac + 0d7e4d5 commit 94b2b17

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ structures. To get started quickly, we recommend adopting a relatively simple
1818
setup, as outlined in the steps below.
1919

2020
If you use Linux, Windows, or macOS version 10.14 ("Mojave") or earlier, simply
21-
follow the steps below. For macOS version 10.15 ("Catalina"), steps 1 and 4 are
22-
slightly different---for further details, see the sections labeled **Information
23-
for macOS "Catalina" users**.
21+
follow the steps below. For macOS version 10.15 ("Catalina") or newer, steps 1
22+
and 4 are slightly different---for further details, see the sections labeled
23+
**Information for macOS "Catalina" (or newer) users**.
2424

2525
For information about installing the CodeQL CLI in a CI system to create results
2626
to display in GitHub as code scanning alerts, see
@@ -66,13 +66,14 @@ Alternatively, you can download ``codeql.zip``, which contains the CLI for all s
6666

6767
.. container:: name
6868

69-
**Information for macOS "Catalina" users**
69+
**Information for macOS "Catalina" (or newer) users**
7070

71-
.. pull-quote:: macOS "Catalina"
71+
.. pull-quote:: macOS "Catalina" (or newer)
7272

73-
If you use macOS version 10.15 ("Catalina"), you need to ensure that your web
74-
browser does not automatically extract zip files. If you use Safari,
75-
complete the following steps before downloading the CodeQL CLI zip archive:
73+
If you use macOS version 10.15 ("Catalina"), version 11 ("Big Sur"), or the upcoming
74+
version 12 ("Monterey"), you need to ensure that your web browser does not automatically
75+
extract zip files. If you use Safari, complete the following steps before downloading
76+
the CodeQL CLI zip archive:
7677

7778
i. Open Safari.
7879
ii. From the Safari menu, select **Preferences...**.
@@ -164,16 +165,17 @@ For example, if the path to your copy of the CodeQL repository is
164165

165166
.. container:: name
166167

167-
**Information for macOS "Catalina" users**
168+
**Information for macOS "Catalina" (or newer) users**
168169

169170
.. pull-quote:: macOS "Catalina"
170171

171-
macOS "Catalina" users should run the following commands in the Terminal,
172-
where ``${install_loc}`` is the path to the directory you created in step 2:
172+
macOS "Catalina", "Big Sur", or "Monterey" users should run the following
173+
commands in the Terminal, where ``${install_loc}`` is the path to the
174+
directory you created in step 2:
173175

174176
i. ``mv ~/Downloads/codeql*.zip ${install_loc}``
175177
ii. ``cd ${install_loc}``
176-
iii. ``xattr -c codeql*.zip``
178+
iii. ``/usr/bin/xattr -c codeql*.zip``
177179
iv. ``unzip codeql*.zip``
178180

179181
5. Launch ``codeql``

0 commit comments

Comments
 (0)