Open ai cli install

very basic and somewhat embarrassing question here. i am trying to download open ai cli but cant find where it is hidden. can someone help…

1 Like

It’s available via their python module - GitHub - openai/openai-python

1 Like

I don’t think openai/openai-python is CLI. It is python library. You could build CLI or GUI app with it.

Here you have it. GitHub - peterdemin/openai-cli: Command-line client for OpenAI APIs

It’s dead simple but very handy.

Oh wow, didn’t know there was such a thing. I was just thinking last night about giving ChatGPT access to my command prompt.

Once again, Pasteur proven right. “Chance only favors the mind which is prepared.”

Thanks for the heads up.

It’s definitely hard to find, but they do have an official Python one that works:

https://platform.openai.com/docs/libraries/python-library

More details here if interested, or if it’s helpful:

kevinleary.net/blog/using-official-openai-chatgpt-cli/