[Remake] 10 minutes to learn how to install GPT desktop version on WINDOWS, MAC, and LINUX

It has been harmonized many times, and the current version has been updated from 0.8.0 to 0.12.0, and it is re-released resolutely. The content of this article remains unchanged, only the installation package has been updated, and the official account at the end of the article will reply GPT0506to receive it

1 Introduction

ChatGPT is still very popular during this period. For those who don’t know it, you can read this article why ChatGPT started the salute of the new era of AI. Sparks and lightning all the way , you can simply understand:

  1. What is ChatGPT
  2. Why ChatGPT is so popular
  3. ChatGPT Restrictions and Bans
  4. How to register ChatGPT
  5. Impact of ChatGPT

Friends who have registered accounts according to the previous article have also used the web version. What I mainly share here is how to download the corresponding version of ChatGPT software . I would like to thank the resources provided by QTM Oracle and the interpretation of Lencx Fu Zhijing

2 Windows version download and install

2.1 Installation package

ChatGPT_0.12.0_x64_en-US.msi

2.2 winget download (note, not wget!)

winget link: https://winstall.app/apps/lencx.ChatGPT

# 下载最新版本
winget install --id=lencx.ChatGPT -e

# 下载特定版本
winget install --id=lencx.ChatGPT -e --version 0.7.4

3 Mac version download and install

3.1 Installation package

ChatGPT_0.12.0_x64.dmg

ChatGPT.app.tar.gz

3.2 homebrew installation

#安装homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

#安装chatgpt
brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git
brew install --cask chatgpt --no-quarantine

4 Download and install the Linux version

4.1 Installation package

chat-gpt_0.12.0_amd64.deb

chat-gpt_0.12.0_amd64.AppImage

4.2 Terminal download

yay -S chatgpt-desktop-bin

5 features

5.1 Software Features

  • Export ChatGPT chat history (support PNG, PDF and generate share link)
  • Support for slash commands and their configuration (can be manually configured or synced from a file)
  • Global custom shortcut keys, etc.

5.2 Menu function (personal preference feature)

  • Inject Script: User-defined scripts for modifying websites
  • User Agent: Custom user agent to prevent website security detection, the default value is empty
  • Switch Origin: You can switch the source address of the website, the default is https://chat.openai.com. It should be noted that the UI of the mirror website needs to be consistent with the original website, otherwise some functions may not work
  • Go to ConfigAnd Clear Config: open ChatGPT configuration directory (path: ~/.chatgpt/); clear ChatGPT configuration data (path: ~/.chatgpt/).
  • Toggle Developer Tools: Website debugging tool, may be needed to debug pages or scripts.

5.3 Configuration function

  • chat.model.json: ChatGPT input prompt (similar to the tab key), through the slash command to quickly complete the input, mainly consists of three parts:
# user_custom:需要手动录入 (Control Conter -> Language Model -> User Custom)
# sync_prompts:从 f/awesome-chatgpt-prompts 同步数据 (Control Conter -> Language Model -> Sync Prompts)
# sync_custom:同步自定义的 json 或 csv 文件数据,支持本地和远程 (Control Conter -> Language Model -> Sync Custom)
  • [cache_model]: Cache synchronized or entered data
# chatgpt_prompts.json:缓存 sync_prompts 数据
# user_custom.json:缓存 user_custom 数据
# ae6cf32a6f8541b499d6bfe549dbfca3.json:随机生成的文件名,缓存 sync_custom 数据

5.4 Client Information Synchronization

Currently, synchronizing custom files only supports json and csv, and must meet the following formats, otherwise it will cause an exception in the application:

+### JSON格式
[
  {
    "cmd": "a",
    "act": "aa",
    "prompt": "aaa aaa aaa"
  },
  {
    "cmd": "b",
    "act": "bb",
    "prompt": "bbb bbb bbb"
  }
]

-### CSV格式
"cmd","act","prompt"
"a","aa","aaa aaa aaa"
"b","bb","bbb bbb bbb"

6 Build ChatGPT

6.1 Pre-installation:

6.2 Build

# step1: 克隆仓库
git clone https://github.com/lencx/ChatGPT.git

# step2: 进入目录
cd ChatGPT

# step3: 安装依赖
yarn

# step4: 开发启动
yarn dev

# step5: 构建应用
# 构建后的安装包位置: src-tauri/target/release/bundle
yarn build

7 discussion

Recently, it has been discovered that quite a few old six directly copy the questions to ChatGPT and then paste the answers to various communities, blogs, and forums to "fool" the questioners. The original intention of ChatGPT is that artificial intelligence improves and improves people's lives, not making people artificial intelligence.

For most friends, the functions of the web version are sufficient, and those with strong hands-on ability can connect to the API port. It is recommended that the official website API Key, gpt3.5 is far more effective than the third-party interface gpt3. The author personally tested that using crawler + building a workflow is very useful for crawling and organizing abstracts, backgrounds and other content. You can continue to explore more functions, just for learning and communication.

Guess you like

Origin blog.csdn.net/weixin_48093827/article/details/130521187