sgpt
SGPT is a command-line tool that provides a convenient way to interact with OpenAI models, enabling users to run queries, generate shell commands and produce code directly from the terminal.
File Explorer
Download Latest Version (.zip)- bug.yaml
- config.yml
- feature.yaml
- ci.yml
- depsreview.yml
- gitleaks.yml
- milestone.yml
- oss-licenses.yml
- release.yml
- toc.yml
- licenses.tmpl
- PULL_REQUEST_TEMPLATE.md
- main.go
- main.html
- chat.md
- docker.md
- gemini.md
- gpt-4o.md
- local-llm.md
- o1.md
- openrouter.md
- personas.md
- proxy.md
- query-models.md
- templates.md
- configuration.md
- examples.md
- getting-started.md
- index.md
- installation.md
- requirements.txt
- version.go
- env.go
- httmock.go
- testctx.go
- oss-licenses.md
- prompts.yml
- echo
- golang
- java
- python
- marvin.jpg
- api.go
- api_test.go
- chat.go
- filesystem.go
- filesystem_test.go
- chat.go
- chat_test.go
- check.go
- check_test.go
- completion_test.go
- config.go
- config_test.go
- error.go
- error_test.go
- licenses.go
- licenses_test.go
- man.go
- man_test.go
- root.go
- root_test.go
- template.go
- template_test.go
- util_test.go
- version.go
- version_test.go
- marvin.jpg
- marvin.png
- fs.go
- fs_test.go
- defaults.go
- defaults_test.go
- modifiers.go
- modifiers_test.go
- prompts.yml
- shell.go
- shell_test.go
- completions.sh
- gha-test.sh
- manpages.sh
- oss-licenses.sh
- .bashrc
- .dockerignore
- .editorconfig
- .envrc
- .gitignore
- .gitleaksignore
- .golangci.yaml
- .goreleaser.yaml
- .mdl_config.yaml
- .pre-commit-config.yaml
- .readthedocs.yaml
- .release-please-manifest.json
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CODEOWNERS
- CONTRIBUTING.md
- Dockerfile
- Dockerfile.goreleaser
- flake.lock
- flake.nix
- go.mod
- go.sum
- LICENSE
- mkdocs.yml
- playbook.yml
- README.md
- release-please-config.json
- renovate.json
- SECURITY.md
- Taskfile.yml
# Installation Guide
git clone https://github.com/tbckr/sgpt
Downloads the entire project code from GitHub to your computer.
cd sgpt
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommendedbrew install tbckr/tap/sgpt
Installs the pre-built package via Homebrew โ no source build required.
scoop install tbckr/sgpt
Installs directly via Scoop (Windows).
go install github.com/tbckr/sgpt/v2/cmd/sgpt@latest
Downloads and installs the specified version directly โ no need to clone the repo yourself.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker pull ghcr.io/tbckr/sgpt:latest
Type this command into your terminal and run it.
Pulled directly from this repo's README.
4. Go
Mediumgo install github.com/tbckr/sgpt/v2/cmd/sgpt@latest
Downloads and installs the specified version directly โ no need to clone the repo yourself.
Pulled directly from this repo's README.
