Automic VaultAutomic Vault

brew

Install gdrive with Homebrew, MacPorts, Nix, scoop

Google Drive CLI Client. Version 3.9.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gdrive

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gdrive

MacPorts ports tree · net/gdrive/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#gdrive

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

Windows

Scoopverified · 92%
scoop install main/gdrive

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

overview

Package summary

Google Drive CLI Client

Commands and aliases

  • gdrive

history

Project history and usage

gdrive is a command-line Google Drive client from glotlabs, written as the successor to the older prasmussen/gdrive project and aimed at authenticated Drive account operations.

Project history

The glotlabs/gdrive repository was created in late 2022. Its README identifies the project as the successor of gdrive2, the archived prasmussen/gdrive repository, while noting that the new client initially implemented only the most basic functionality.

The project kept the familiar gdrive command name but restarted the implementation around a new account flow and documentation set. It requires users to create Google OAuth client credentials, then run gdrive account add to authorize access through a local callback server.

Adoption history

The predecessor prasmussen/gdrive repository dates to 2013 and became a widely starred Google Drive CLI before archival. The glotlabs successor began publishing 3.x releases in 2023 and appears in Homebrew, MacPorts, Nix, and Scoop according to the input package-manager facts.

How it is used

Users configure Google API credentials, add an account with gdrive account add, and then use the CLI for Google Drive operations. The official README also documents exporting and importing account data for remote servers where browser access to localhost is awkward.

Why package nerds care

For package maintainers, this formula is significant because the old gdrive name did not simply disappear: it moved from a popular archived Go CLI to a successor project with a new credential directory, OAuth setup, and package-manager continuity under the same command-line identity.

Timeline

  • 2013: prasmussen/gdrive repository created.
  • 2022: glotlabs/gdrive successor repository created.
  • 2023: 3.x release series published.
  • 2024: v3.9.1 published.

Related projects

  • The closest related project is prasmussen/gdrive, called gdrive2 by the successor README. gdown and gdrive-downloader cover narrower public-file download workflows, while glotlabs/gdrive targets authenticated Drive client operations.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:client

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 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.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/gdrive3/

executables

Installed executables

CommandKindExposureNote
gdrivecliglobal 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 version3.9.1
manager updated
local dataok
upstreamcurrent
latest detected3.9.1

https://github.com/glotlabs/gdrive

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:gdrive
Version3.9.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gdrive
Homepagehttps://github.com/glotlabs/gdrive
Repositoryhttps://github.com/glotlabs/gdrive
Upstream docshttps://github.com/glotlabs/gdrive#readme
LicenseMIT
Source archivehttps://github.com/glotlabs/gdrive/archive/refs/tags/3.9.1.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegdrive
Aliases
  • gdrive@3
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%

gdrive

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

gdrive

sudo port install gdrive
  • normalized package name match
  • Matched by: Gdrive
MacPorts ports tree · api.github.com · MacPorts ports tree: net/gdrive/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/gdrive

scoop install main/gdrive
  • normalized package name match
  • Matched by: Gdrive
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gdrive.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

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