Automic VaultAutomic Vault

brew

Install gptscript with Homebrew, Nix, scoop, winget

Develop LLM Apps in Natural Language. Version 0.9.9 via Homebrew; verified 2026-04-10.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gptscript

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#gptscript

nixpkgs package indexes · pkgs/by-name/gp/gptscript/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install extras/gptscript

Scoop official bucket manifest trees · bucket/gptscript.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id gptscript-ai.gptscript -e

Windows Package Manager source index · gptscript-ai.gptscript · source: cdn.winget.microsoft.com

overview

Package summary

Develop LLM Apps in Natural Language

Commands and aliases

  • gptscript

history

Project history and usage

GPTScript is an LLM-oriented scripting framework and CLI from the gptscript-ai project. It packages prompts, local commands, OpenAPI-backed tools, SDK libraries, and retrieval workflows into scripts that can be invoked from the command line.

Project history

The public repository began with an initial commit on 2024-01-29. The README describes GPTScript as a framework for allowing large language models to operate against local executables, remote APIs, and retrieval-backed systems with a small prompt-oriented script surface.

The documentation site presents GPTScript as both a scripting language and a CLI workflow runner, with examples for local CLI chat, OpenAPI endpoints, local files, and automated workflows.

Adoption history

GPTScript entered package-manager culture quickly because the official installation path includes Homebrew for macOS and Linux and winget for Windows. The Homebrew formula also appears in the supplied package metadata, alongside Nix, Scoop, and winget identifiers.

The project became part of the early wave of LLM command-line automation tools: useful to developers who wanted prompt-authored workflows without writing a full agent application.

How it is used

Typical use is `gptscript` followed by a local script or a GitHub-hosted script. Official examples include running a chat assistant from `github.com/gptscript-ai/llm-basics-demo` and composing tools that call CLIs, web APIs, or files.

The tool needs model credentials for most real workflows; the existing curation records GPTScript's config JSON as both the config and credential storage location.

Why package nerds care

For package maintainers, GPTScript is a representative example of post-2023 AI tooling entering ordinary CLI distribution channels. Its packaging spans Homebrew, Nix, Scoop, and winget rather than only an npm, Python, or container ecosystem.

Its command model is also interesting because scripts may reference GitHub-hosted tools directly, making the package itself a launcher and runtime for higher-level LLM workflows.

Timeline

  • 2024-01-29: Public repository history begins with the initial commit.
  • 2024: README copyright names Acorn Labs, Inc. and describes the framework for LLM-operated tools.
  • 2026-05: Repository history includes work moving parts of the implementation toward a nanobot repository.

Related projects

  • gptscript-ai/llm-basics-demo is used in the official getting-started command as a runnable demo script.
  • OpenAPI-backed services, local CLIs, and retrieval tools are first-class integration targets in the official examples.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
$XDG_CONFIG_HOME/gptscript/config.json
macOS
~/Library/Application Support/gptscript/config.json
Windows
%APPDATA%\Local\gptscript\config.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
$XDG_CONFIG_HOME/gptscript/config.json
macOS
~/Library/Application Support/gptscript/config.json
Windows
%APPDATA%\Local\gptscript\config.json

executables

Installed executables

CommandKindExposureNote
gptscriptcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.9.9
manager updated2026-04-10
local dataok
upstreamcurrent
latest detectedv0.9.9

https://github.com/gptscript-ai/gptscript

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gptscript
Version0.9.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gptscript
Homepagehttps://docs.gptscript.ai/
Repositoryhttps://github.com/gptscript-ai/gptscript
Upstream docshttps://docs.gptscript.ai/
LicenseApache-2.0
Source archivehttps://github.com/gptscript-ai/gptscript/archive/refs/tags/v0.9.9.tar.gz
Last updated2026-04-10T17:43:09Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegptscript
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gptscript

nix profile install nixpkgs#gptscript
  • normalized package name match
  • Matched by: Gptscript
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gp/gptscript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

extras/gptscript

scoop install extras/gptscript
  • normalized package name match
  • Matched by: Gptscript
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gptscript.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

gptscript-ai.gptscript

winget install --id gptscript-ai.gptscript -e
  • normalized package name match
  • Matched by: Gptscript
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: gptscript-ai.gptscript from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment