plz-cli icon indicating copy to clipboard operation
plz-cli copied to clipboard

add installation instruction for windows

Open VPradoB opened this issue 2 years ago • 3 comments

nice to have the instructions to install it on powershell too

VPradoB avatar Feb 17 '23 04:02 VPradoB

Es bueno tener las instrucciones para instalarlo en PowerShell también

ya la pudiste instalar?

juliandavidnunesfranco avatar Feb 17 '23 12:02 juliandavidnunesfranco

no

VPradoB avatar Feb 17 '23 16:02 VPradoB

Probably one of the best ways to install it (currently) on W10 and W11 is by enabling WSL (Windows Subsystem Linux ). Then install a subsystem (go to MS Store and search Ubuntu, Debian...). Once it is installed, you can install Homebrew (it was easier for me to install plz-cli because of a problem with dependencies). When you have Homebrew installed, you need to change the PATH location: export BREW_HOME="/home/linuxbrew/.linuxbrew/bin"

export PATH="$PATH:$BREW_HOME

Then run sudo apt update & & sudo apt upgrade -y brew install plz-cli

Next step export your API key to your path: export OPENAI_API_KEY='sk-XXXXXXXX'

And finally execute: plz help me hacking nasa or whatever you want...

CM-CA avatar Feb 20 '23 03:02 CM-CA