kardolus / chatgpt-cli

ChatGPT CLI is a versatile tool for interacting with LLM models through OpenAI and Azure, as well as models from Perplexity AI and Llama. It supports prompts and history tracking for seamless, context-aware interactions. With extensive configuration options, it’s designed for both users and developers to create a customized GPT experience.
MIT License
569 stars 39 forks source link

docs: windows build script #81

Closed nopeless closed 1 month ago

nopeless commented 1 month ago

I like to build my things

kardolus commented 1 month ago

I haven't used windows since XP so I may ask dumb questions :)

My question is, what's the output of the ./scripts/install.sh or the reinstall.sh script in powershell?

I created the binaries.sh script to create releases for all environments. Just for my own box I use install and reinstall

kardolus commented 1 month ago

PS thanks! This is great. Having something for powershell folks is great!

kardolus commented 1 month ago

I'm also curious what make install or make reinstall outputs are in powershell. Can you execute Makefiles in windows? Sorry for my ignorance.

nopeless commented 1 month ago

I'm also curious what make install or make reinstall outputs are in powershell. Can you execute Makefiles in windows? Sorry for my ignorance.

Its do-able as far as I know (I guess with combination of gnuwin32's make and git's bash would work?) but I would rather just use wsl if I need to use makefiles.

output

 .\scripts\binaries.ps1
Building chatgpt for windows/amd64...done
nopeless commented 1 month ago

I only made the binaries.sh for powershell because the other script files I couldn't get gexec to work properly and I don't have enough time to debug it right now. Being able to build locally was still a feat in my head so I made the pr

kardolus commented 1 month ago

Gotcha. I guess this is a good start and we can iterate from here. Thank you!

kardolus commented 1 month ago

@nopeless I renamed it to install.ps1 just to be consistent. Let me know if that broke something.