OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Coding Tools

Gptsh

Gptsh is a Node.js command-line tool powered by OpenAI GPT-3 that translates natural-language questions and requests into shell commands for use alongside a standard shell environment.

Independent OpenViST project profile, based on linked sources.

Gptsh — OpenViST project profile in AI Coding Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Gptsh when you know the command-line task but need help forming a command; review the suggested command before deciding whether to run it.

Who it is for

  • Command-line users who want help recalling commands for routine system and development tasks.
  • Developers who want to request command suggestions in plain language.

Documented uses

  • Generate a shell command for a task such as searching files, working with a framework, or compressing files.
  • Request commands for different platforms by specifying the target platform.
Before you choose

Requirements & limits

The README documents installation through npm, Yarn, or Docker and requires an OpenAI API key, which can be provided through an environment variable, command-line option, or ~/.gptshrc file.

  • Gptsh returns commands rather than replacing the user's shell workflow.
  • The CLI exposes options for the OpenAI engine, target platform, token limit, temperature, and number of completions.
  • The repository is JavaScript-based and lists an MIT license.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Gptsh with npm or Yarn

Install the CLI globally using one of the package managers shown in the project README.

Before you start

  • npm or Yarn
  • An OpenAI API key for using Gptsh

Steps

  1. Run the command below, or use yarn global add gptsh.

    Documented command
    npm install --global gptsh
  2. Set OPENAI_SECRET_KEY in the environment, pass the key with --secret, or place it in ~/.gptshrc.

  3. Provide a natural-language request as the input to gptsh.

Expected outcome

Gptsh is installed globally and configured to receive requests using an OpenAI API key.

Guide limitations

  • The README requires an OpenAI API key.
  • This guide covers installation and configuration; it does not verify command output or execution.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
shorwood/gptsh · Official homepage title · retained in its source language