@@ -18,9 +18,9 @@ structures. To get started quickly, we recommend adopting a relatively simple
18
18
setup, as outlined in the steps below.
19
19
20
20
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 **.
24
24
25
25
For information about installing the CodeQL CLI in a CI system to create results
26
26
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
66
66
67
67
.. container :: name
68
68
69
- **Information for macOS "Catalina" users **
69
+ **Information for macOS "Catalina" (or newer) users **
70
70
71
- .. pull-quote :: macOS "Catalina"
71
+ .. pull-quote :: macOS "Catalina" (or newer)
72
72
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:
76
77
77
78
i. Open Safari.
78
79
ii. From the Safari menu, select **Preferences... **.
@@ -164,16 +165,17 @@ For example, if the path to your copy of the CodeQL repository is
164
165
165
166
.. container :: name
166
167
167
- **Information for macOS "Catalina" users **
168
+ **Information for macOS "Catalina" (or newer) users **
168
169
169
170
.. pull-quote :: macOS "Catalina"
170
171
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:
173
175
174
176
i. ``mv ~/Downloads/codeql*.zip ${install_loc} ``
175
177
ii. ``cd ${install_loc} ``
176
- iii. ``xattr -c codeql*.zip ``
178
+ iii. ``/usr/bin/ xattr -c codeql*.zip ``
177
179
iv. ``unzip codeql*.zip ``
178
180
179
181
5. Launch ``codeql ``
0 commit comments