Skip to content

Commit 73e3014

Browse files
authored
Add Apple Silicon installation instructions
Fixes #11
1 parent 94582be commit 73e3014

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,25 @@ $ echo "$DEVELOPER_DIR"
4141

4242
## Auto-switching
4343

44-
To automatically switch the current Xcode version when you `cd` between different directories, load `auto` in `~/.bashrc` or `.zshrc`:
44+
To automatically switch the current Xcode version when you `cd` between different directories, load `auto` in `~/.bashrc` or `~/.zshrc`.
45+
46+
### Intel
4547

4648
```sh
4749
source /usr/local/share/chxcode/chxcode
4850
source /usr/local/share/chxcode/auto
4951
```
5052

51-
Auto looks for an `.xcode-version` file and automatically selects that version for the current folder and any of it's subfolders.
53+
### Apple Silicon
54+
55+
```sh
56+
source /opt/homebrew/opt/share/chxcode/chxcode
57+
source /opt/homebrew/opt/share/chxcode/auto
58+
```
59+
60+
(If you're unsure then simply follow the instructions Homebrew showed you after installation. Run `brew info chxcode` to see the instructions again.)
61+
62+
`auto` looks for an `.xcode-version` file and automatically selects that version for the current folder and any of it's subfolders.
5263

5364
For example:
5465

0 commit comments

Comments
 (0)