j178 / chatgpt

An elegant interactive CLI for ChatGPT
728 stars 54 forks source link

docs: update readme #41

Closed Ruixi-rebirth closed 1 year ago

Ruixi-rebirth commented 1 year ago

I've adjusted the README installation section to make it easier to add other installation methods later

j178 commented 1 year ago

Thanks for creating a Nix package for chatgpt-cli, really appreciate it!

Can we simplify this PR by just adding the Nix install method below without changing the existing ones?

Ruixi-rebirth commented 1 year ago

image

If added directly after the original installation method, it would appear that nixos is different from linux

j178 commented 1 year ago

By the way, as I know nothing about Nix. Can I install chatgpt-cli using nix-env -iA nixpkgs.chatgpt-cli? And what's the difference between installing via the nix-env command and modifying the Nix configuration? Thank you

Ruixi-rebirth commented 1 year ago

By the way, as I know nothing about Nix. Can I install chatgpt-cli using nix-env -iA nixpkgs.chatgpt-cli? And what's the difference between installing via the nix-env command and modifying the Nix configuration? Thank you

The former is the traditional installation method, and the latter is the recommended installation method. Writing the installed software to configuration.nix avoids the trouble of manual installation of the former one by one.

j178 commented 1 year ago

I get it, thanks for explaining~