· 2 years ago · Jun 23, 2023, 01:30 AM
1Use ChatGPT API On Linux To Ask Question Using Command
2
3>>>
4
5Since OpenAI released ChatGPT, users have casually experimented with the tool. This powerful AI tool benefits content creators, influencers, and programmers. etc. For cyber security researchers and ethical hackers, it can be more helpful in different ways for different objectives like bug hunting, security questions, etc., and research on particular vulnerabilities without wasting time on googling things and visiting multiple websites.
6
7In this article, we guide you on how to install ChatGPT on your Linux so you can easily ask your queries to AI using your command-line interface (Terminal).
8
9Follow these simple steps:
101. First you have to generate and copy your API key by signing up on OpenAI official website.
112. Type the following commands on your Linux terminal.
12
13• sudo pip3 install openai
14• git clone https://github.com/mglantz/chatgpt
15• cd chatgpt && sudo cp gpt.py /usr/bin
16• export OPENAI_API_KEY=<paste your api key here>
17• gpt.py "What is ChatGPT?"
18
19Now you can see the output of ChatGPT on your terminal and this can be very useful, especially for bug hunters in their penetration testing.
20
21I hope this information is helpful for you and make sure to connect with us on social handles to never miss new updates.
22
23If you want to be a hacker even if you don't have any additional skills in coding or hacking still you can learn from our e-learning course through our special experts in one-to-one assistant.
24
25
26For More Join Our Telegram Channel
27@njrhackz | @pvtbinz
28
29Follow In Instagram
30@omsahu.06 | @b2r_69