Skip to content

Commit a80c039

Browse files
authored
Update README.md
1 parent 3447978 commit a80c039

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ brew install dependency-graph
2222
```
2323

2424
> **Note**
25-
> if you got any error like this when running the above command on M1/M2
26-
27-
```bash
28-
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
29-
To rerun under ARM use:
30-
arch -arm64 brew install ...
31-
To install under x86_64, install Homebrew into /usr/local.
32-
```
33-
34-
> You can use the following solution:
35-
```bash
36-
arch -arm64 brew install dependency-graph
37-
```
25+
> If you get the following error when attempting to install dependency-graph:
26+
>
27+
> ```
28+
> Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
29+
> To rerun under ARM use:
30+
> arch -arm64 brew install ...
31+
> To install under x86_64, install Homebrew into /usr/local.
32+
> ```
33+
>
34+
> You can use the the following to install dependency-graph:
35+
>
36+
> ```bash
37+
> arch -arm64 brew install dependency-graph
38+
> ```
3839
3940
You may now run the following command to verify that the tool was installed correctly. The following command should print information on how the tool can be used.
4041

0 commit comments

Comments
 (0)