You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed gpt-cli via pip through the instructions. When I tried to run it in my terminal as gpt I found out it executes a different tool that exists in MacOS's called "GUID partition table maintenance utility" which located at "/usr/sbin".
To solve this problem I changed gpt-cli's executable's name from "gpt" to "gpt-cli". Now I'm able to run gpt-cli via gpt-cli command in my terminal.
Solution:
Find executable. In my case it was located in "/usr/local/bin" folder. It was named "gpt". To see if it works you can run ./gpt inside the "/usr/local/bin" folder.
Change its name to something you want. I wanted to run gpt-cli via gpt-cli command in my terminal so I changed its name to "gpt-cli". To do this you can execute mv gpt gpt-cli or you can replace "gpt-cli" with something you want.
The text was updated successfully, but these errors were encountered:
Also if you don't want to rename things you can add alias git-cli="/usr/local/bin/gpt to your .zshrc file then you will be able to call git-cli with git-cli command.
I installed gpt-cli via pip through the instructions. When I tried to run it in my terminal as
gpt
I found out it executes a different tool that exists in MacOS's called "GUID partition table maintenance utility" which located at "/usr/sbin".To solve this problem I changed gpt-cli's executable's name from "gpt" to "gpt-cli". Now I'm able to run gpt-cli via
gpt-cli
command in my terminal.Solution:
Find executable. In my case it was located in "/usr/local/bin" folder. It was named "gpt". To see if it works you can run
./gpt
inside the "/usr/local/bin" folder.Change its name to something you want. I wanted to run gpt-cli via
gpt-cli
command in my terminal so I changed its name to "gpt-cli". To do this you can executemv gpt gpt-cli
or you can replace "gpt-cli" with something you want.The text was updated successfully, but these errors were encountered: