foo@bar:~$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/vibovenkat123/review-gpt/HEAD/install.sh)"
foo@bar:~$ git clone [email protected]:vibovenkat123/review-gpt.git ~/.rgpt
NOTE: For tidiness, it is highly recommended you install the repo to ~/.rgpt
, unless if you are going to work on this
Create a new file called .rgpt.env in your home directory
foo@bar:~$ touch ~/.rgpt.env
Add the environment variable to the file, e.g OPENAI_KEY="<key_here>". It must be formatted like that.
foo@bar:~$ echo OPENAI_KEY="sk-1234" > ~/.rgpt.env
Run make build
to build the binaries (in git repo)
foo@bar:~/.rgpt$ make build
foo@bar:~/.rgpt$ sudo mv ./bin/rgpt /usr/local/bin/rgpt
foo@bar:~/.rgpt$ sudo chmod +x /usr/local/bin/rgpt