# 使用 Homebrew, apk, Nix 安装 stu

查看 stu 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:stu
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stu
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add stu
```

  证据: Alpine Linux edge package indexes: stu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#stu
```

  证据: nixpkgs package indexes: pkgs/by-name/st/stu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:stu
- **软件包管理器:** Homebrew
- **版本:** 0.7.6
- **来源摘要:** TUI explorer application for Amazon S3 (AWS S3)
- **主页:** <https://lusingander.github.io/stu/>
- **仓库:** <https://github.com/lusingander/stu>
- **最后更新:** 2026-06-15T10:21:21-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stu (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.7.6
## 项目历史与用法

stu is STU, S3 Terminal UI: a terminal-based explorer for Amazon S3 and S3-compatible storage. In CLI culture it belongs to the modern TUI wave, wrapping cloud object browsing, previews, downloads, and version access in a keyboard-driven terminal interface.

### 项目历史

Official README and documentation define STU as an interactive terminal-based explorer for Amazon S3. The project is written in Rust, built with ratatui, and published under the MIT license.

### 采用历史

Official installation docs point Cargo users to `cargo install --locked stu`, and the input package facts show APK, Homebrew, and Nix distribution. The README also documents use with existing AWS CLI-style profiles and environment-variable configuration, reducing setup friction for users who already have AWS credentials.

### 使用方式

Common usage is to run `stu` and browse buckets and objects directly from the terminal. Official docs list options for region, endpoint URL, profile, bucket, prefix, path-style behavior, unsigned requests, and debug logs; the README documents keybindings and a TOML config file under `$STU_ROOT_DIR` or `~/.stu`.

### 为什么软件包爱好者会关心

Package nerds care about stu because it packages cloud storage inspection as a local TUI instead of a web console or a chain of `aws s3` commands. It is especially relevant for terminal-first users who want S3 browsing, previews, downloads, custom keybindings, and S3-compatible endpoint support in one binary.

### 时间线

- Current: Official docs present stu as a Rust and ratatui S3 terminal UI with S3-compatible storage support.
- Current: Input package facts show stu packaged by APK, Homebrew, and Nix.

### Related projects

- The AWS CLI credential/config file model is directly referenced by stu's README. The README also lists DDV, a terminal DynamoDB viewer by the same author, as a related project.

### 来源

- <https://github.com/lusingander/stu#readme>
- <https://lusingander.github.io/stu/>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: $STU_ROOT_DIR/config.toml, ~/.stu/config.toml

## Credential files

- Unix: ~/.aws/credentials, ~/.aws/config
## 其他软件包管理器记录

- Nix - stu: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - stu - 0.7.6-r0: normalized package name match | Alpine Linux edge package indexes: stu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TUI explorer for S3 compatible object stores | https://lusingander.github.io/stu/
- apk - stu-doc - 0.7.6-r0: normalized package name match | Alpine Linux edge package indexes: stu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TUI explorer for S3 compatible object stores (documentation) | https://lusingander.github.io/stu/


## Combined YAML source

View the package source record on GitHub. [combined/stu.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stu.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
