Skip to content

Liberator-Zero/LinuxGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

LinuxGPT

Script that integrates ChatGPT into Linux CLI

1.) Save the script as "ask" to your /usr/local/bin
2.) Make the script executable by running:
  - chmod +x ask
3.) Set the Environment Variable in a Secure File:
  - echo 'export OPENAI_API_KEY="your_openai_api_key_here"' > ~/.openai_key
4.) Create a file to store your API key and set the appropriate permissions:
  - chmod 600 ~/.openai_key
5.) Test script by asking a question:
  - ask How do I integrate ChatGPT into the Linux CLI?

About

Script that integrates ChatGPT into Linux CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages