Skip to content

Commit ac8c87b

Browse files
committed
docs(README.md): add note about MacOS potentially requiring 'sudo' when installing package globally
The README.md file now includes a note that MacOS may prompt the user to run the 'npm install -g opencommit' command with 'sudo' when installing the package globally. This note is added to provide clarity and help users who encounter this situation.
1 parent a9050fd commit ac8c87b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ You can use OpenCommit by simply running it via the CLI like this `oco`. 2 secon
2929
npm install -g opencommit
3030
```
3131

32+
MacOS may ask to run the command with `sudo` when installing a package globally.
33+
3234
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys). Make sure that you add your payment details, so the API works.
3335

3436
3. Set the key to OpenCommit config:

0 commit comments

Comments
 (0)