[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10699":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":42,"discoverSource":43},10699,"tgpt","aandrew-me\u002Ftgpt","aandrew-me","AI Chatbots in terminal for free","",null,"Go",3180,342,41,18,0,5,27,2,64.81,"GNU General Public License v3.0",false,"main",true,[26,27,28,29,30,31,32,33,34,35,36,37,38],"ai","chatbot","chatgpt","cli","go","golang","gpt4","linux","llama","macos","mixtral","terminal","windows","2026-06-12 04:00:51","\u003Cimg width=\"317\" height=\"134\" alt=\"tgpt logo\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fba582404-cd3a-4235-a451-c8a3cc5aef5a\" \u002F>\n\n\n# tgpt 🤖\n\n[![GitHub go.mod Go version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fgo-mod\u002Fgo-version\u002Faandrew-me\u002Ftgpt)](https:\u002F\u002Fgithub.com\u002Faandrew-me\u002Ftgpt)\n[![GitHub release (latest by date)](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Faandrew-me\u002Ftgpt)](https:\u002F\u002Fgithub.com\u002Faandrew-me\u002Ftgpt\u002Freleases\u002Flatest)\n![Arch Linux package](https:\u002F\u002Fimg.shields.io\u002Farchlinux\u002Fv\u002Fextra\u002Fx86_64\u002Ftgpt)\n![Chocolatey Version](https:\u002F\u002Fimg.shields.io\u002Fchocolatey\u002Fv\u002Ftgpt)\n![Homebrew Formula Version](https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Fv\u002Ftgpt)\n\n\n**tgpt** is a Cross-platform Command-Line Interface (CLI) tool that allows you to use AI in your Terminal.\n\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F1b554b99-79ca-45b7-87ff-7713b7fd9437\" alt=\"Demo\" width=\"500\" height=\"330\">\n\n### [Currently available providers](.\u002Fmd\u002Fproviders.md)\n\n## Installation ⏬\n\n### Download for GNU\u002FLinux 🐧 or MacOS 🍎\n\nThe default download location is `\u002Fusr\u002Flocal\u002Fbin`, but you can change it in the command to use a different location. However, make sure the location is added to your PATH environment variable for easy accessibility.\n\nYou can download it with the following command:\n\n```bash\ncurl -sSL https:\u002F\u002Fraw.githubusercontent.com\u002Faandrew-me\u002Ftgpt\u002Fmain\u002Finstall | bash -s \u002Fusr\u002Flocal\u002Fbin\n```\n\nIf you are using Arch Linux, you can install with pacman:\n\n```bash\npacman -S tgpt\n```\n#### Install with Homebrew\n```bash\nbrew install tgpt\n```\n\n### FreeBSD 😈 \n\nTo install the [port](https:\u002F\u002Fwww.freshports.org\u002Fwww\u002Ftgpt):\n```\ncd \u002Fusr\u002Fports\u002Fwww\u002Ftgpt\u002F && make install clean\n```\nTo install the package, run one of these commands:\n```\npkg install www\u002Ftgpt\npkg install tgpt\n```\n\n### Install with Go\nYou need to [add the Go install directory to your system's shell path](https:\u002F\u002Fgo.dev\u002Fdoc\u002Ftutorial\u002Fcompile-install). \n\n```bash\ngo install github.com\u002Faandrew-me\u002Ftgpt\u002Fv2@latest\n```\n\n### Windows 🪟\n- #### Installation Script \n    Open Powershell, copy and paste the command and press Enter to install.\n    ```\n    irm https:\u002F\u002Fraw.githubusercontent.com\u002Faandrew-me\u002Ftgpt\u002Frefs\u002Fheads\u002Fmain\u002Finstall-win.ps1 | iex\n    ```\n\n    Uninstall with\n    ```\n    iex \"& { $(irm https:\u002F\u002Fraw.githubusercontent.com\u002Faandrew-me\u002Ftgpt\u002Frefs\u002Fheads\u002Fmain\u002Finstall-win.ps1) } -Uninstall\"\n    ```\n\n\n-   **Scoop:** Package installation with [Scoop](https:\u002F\u002Fscoop.sh\u002F) can be done using the following command:\n\n    ```bash\n    scoop install https:\u002F\u002Fraw.githubusercontent.com\u002Faandrew-me\u002Ftgpt\u002Fmain\u002Ftgpt.json\n    ```\n- **Chocolatey** \n    ```bash\n    choco install tgpt\n    ```    \n### From Release\n\nYou can download the executable for your operating system, rename it to `tgpt` (or any other desired name), and then execute it by typing `.\u002Ftgpt` while in that directory. Alternatively, you can add it to your PATH environmental variable and then execute it by simply typing `tgpt`.\n\n## Updating ⬆️\nIf you installed the program with the installation script, you may update it with\n```bash\ntgpt -u\n```\n**It may require admin privileges.**\n\n## [Usage](.\u002Fmd\u002Fusage.md) \n\n### Proxy\n\nSupport:\n\n### 1. Environment variable\n\n`http_proxy` or `HTTP_PROXY` with following available formats:\n\n- Http Proxy [ `http:\u002F\u002Fip:port` ]\n- Http Auth [ `http:\u002F\u002Fuser:pass@ip:port` ]\n- Socks5 Proxy [ `socks5:\u002F\u002Fip:port ]`\n- Socks5 Auth [ `socks5:\u002F\u002Fuser:pass@ip:port` ]\n\n### 2. Configuration file\n\nSupported file locations:\n\n- `.\u002Fproxy.txt` (in the same directory from where you are executing)\n- `~\u002F.config\u002Ftgpt\u002Fproxy.txt`\n\nExample:\n\n```bash\nhttp:\u002F\u002F127.0.0.1:8080\n```\n\n## Uninstalling\nIf you installed with the install script, you can execute the following command to remove the tgpt executable\n```\nsudo rm $(which tgpt)\n```\nConfiguration file is usually located in `~\u002F.config\u002Ftgpt` on GNU\u002FLinux Systems and in `\"Library\u002FApplication Support\u002Ftgpt\"` on MacOS\n","tgpt 是一个跨平台的命令行工具，允许用户在终端中免费使用AI聊天机器人。它基于Go语言开发，支持多种操作系统包括Linux、macOS和Windows等，并且兼容ChatGPT等多种AI模型。通过简单的安装步骤，用户可以在自己的计算机上快速部署并开始与AI进行交互。该工具特别适合需要在开发环境中直接访问AI助手的程序员或任何希望通过命令行界面与AI交流的用户。其简洁的设计和强大的功能使其成为提升工作效率的理想选择。","2026-06-11 03:29:47","top_topic"]