AI资讯大全AIPPXP.CN搜索 ↗
工具介绍 · 附下载文件

ShellGPT: directly ask AI and generate commands in the command lineShellGPT:在命令行里直接问AI、生成命令

Forgot how to write a Linux command? Directly use natural language to ask AI to generate commands; you can also write scripts, check errors, and generate code snippets.

忘了Linux命令怎么写?直接用自然语言问AI生成命令;还能写脚本、查错、生成代码片段。

2026-09-24 更新 · 免费
ShellGPT:在命令行里直接问AI、生成命令

What can it do for you?它能帮你做什么

Natural language generation command: sgpt "convert all pngs in the current directory to jpg", which directly gives you executable commands.

Conversation mode, code generation, and file analysis are all supported, making it an AI Swiss Army Knife for command line players.

中文

自然语言生成命令:sgpt "把当前目录所有png转成jpg",直接给你可执行的命令。

对话模式、代码生成、文件分析都支持,是命令行玩家的AI瑞士军刀。

Installation in two steps安装两步

Step 1: Click the green button at the bottom of this page to download the Python installation package.

Step 2: After Python is installed on the computer, unzip it and execute pip install ./the name of the extracted folder to complete the installation.

中文

第一步:点本页下方绿色按钮下载Python安装包。

第二步:电脑装好Python后,解压并执行 pip install ./解压出的文件夹名 完成安装。

First time configuration and usage首次配置与用法

Execute sgpt --shell "What you want to do" to generate a command; add the --shell parameter to output a command that can be run directly.

For first-time use, you need to fill in the AI ​​interface key in the configuration file and follow the official warehouse instructions.

中文

执行 sgpt --shell "你要做的事" 生成命令;加 --shell 参数才会输出可直接运行的命令。

首次使用需在配置文件填入AI接口密钥,按官方仓库说明操作即可。

Notes使用提醒

This article is compiled from public sources and ships with the matching resource. Product features and pricing are subject to the official page. Resources are for learning and exchange only — please respect the original license.

中文

本文整理自公开资料并附上配套资源;涉及产品的功能与价格以官方页面为准。资源仅供学习交流,请遵循来源许可。

资源下载 · Download

⬇ Download · 点击下载:ShellGPT v1.5.1 · Python安装包(0.1MB)

开源项目官方发布包(MIT许可)。需要电脑先装好Python(python.org免费下载)。安装方法:把包解压后,在命令行进入文件夹执行 pip install ./解压出的文件夹名 即可。

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告