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
The binary will be available at `.build/release/xcvm`.
19
+
20
+
Shell completions can be generated as well.
21
+
```shell
22
+
make completions
23
+
```
24
+
They will be available in `.build/completions` for you to copy to the specific location required by your shell.
25
+
26
+
27
+
## Usage
28
+
29
+
### Download
30
+
31
+
Pass a specific version or `latest` to download Xcode. It will open the download url in your browser to use your existing Apple ID authentication.
32
+
33
+
```shell
34
+
xcvm download latest
35
+
# or
36
+
xcvm download 15.4
37
+
```
38
+
39
+
40
+
### Install
41
+
42
+
Pass the path to the downloaded xip file or in the progress download file for your browser (`*.download` or `*.crdownload`). The Xcode app will be renamed based on the version to allow multiple versions to be installed at the same time.
43
+
44
+
```shell
45
+
xcvm install ~/Downloads/Xcode-15.xip
46
+
# or
47
+
xcvm install ~/Downloads/Xcode-15.xip.download
48
+
```
49
+
50
+
### Use
51
+
52
+
Pass the version number of Xcode to use for the command line developer tools.
53
+
54
+
```shell
55
+
xcvm use 15.4
56
+
```
57
+
58
+
Since this command calls `xcode-select`, which requires super user permissions, you may need to call it with `sudo` or by passing the `--sudo-askpass` flag. See `xcvm use --help` for more details.
59
+
60
+
### Uninstall
61
+
62
+
Pass a version number to uninstall a version of Xcode.
63
+
64
+
```shell
65
+
xcvm uninstall 15.0
66
+
```
67
+
68
+
This is faster than moving Xcode the Trash since it doesn't spend time counting the files to show a progress bar when emptying the Trash.
69
+
70
+
71
+
## `xcvm help`
12
72
```
13
73
OVERVIEW: Manage multiple installed versions of Xcode.
0 commit comments