diff --git a/README.md b/README.md index 2f4b5b3..9d5adda 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Automates the creation of standardized Git commit messages using [OpenAI's API]( ## Installation Instructions -Commit Generator can be installed using npm: +Commit Generator can be installed globally using npm: ```bash npm install -g ai-diff-commit diff --git a/package.json b/package.json index e8a89cb..2ab041b 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "ai-diff-commit", "version": "0.0.2", "description": "A CLI tool to generate commit messages using AI, powered by OpenAI.", + "preferGlobal": true, "main": "dist/main.js", "bin": { "ai-diff-commit": "dist/main.js"