You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
To download the CLI SDK to get started for Windows, Mac, or Linux.
22
+
here on the assets link of the latest release: [CLI SDK Download](https://github.com/microsoftgraph/msgraph-cli/releases)
23
+
24
+
25
+
#### Windows
17
26
1. Extract downloaded CLI tool for Windows to folder
18
27
2. Execute program using **mgc** (on Windows CMD) or **./mgc** (on Windows PowerShell) command.
19
28
20
29
21
-
#### Windows environment setup (Optional)
30
+
#####Windows environment setup (Optional)
22
31
23
32
To allow executing the mgc command without prefixing it with `./`, you can add the executable's directory to the OS Path environment variable.
24
33
On Windows PowerShell, you can add the current directory to the path by running:
@@ -50,7 +59,7 @@ You can find it by either using windows search (it appears as _view advanced sys
50
59
> The Environment Variables screen should have 2 sections that both have a Path entry. The _User variables_ section adds to the current user's path and other users' environments should remain unchanged. The _System variables_ section will make the changes for all users in the computer.
51
60
52
61
53
-
### MacOS
62
+
####MacOS
54
63
55
64
1. Download the CLI archive for your Mac.
56
65
- If you have an M1 Mac computer, download the `msgraph-cli-osx-arm64...` package.
@@ -59,7 +68,7 @@ You can find it by either using windows search (it appears as _view advanced sys
59
68
3. Open a terminal in the new folder
60
69
4. Execute the program using **./mgc** command.
61
70
62
-
#### Mac environment setup (Optional)
71
+
#####Mac environment setup (Optional)
63
72
64
73
If you'd like to run the CLI from any folder, you need to either update the PATH environment variable for your shell,
65
74
or add a symbolic link to the CLI into a location in the PATH (e.g. /usr/bin). Adding a symbolic link will need
0 commit comments