# 使用 Homebrew 安装 basti

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

## 安装

```sh
sudo av install brew:basti
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install basti
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:basti
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/basti>
- **版本:** 1.8.0
- **来源摘要:** Securely connect to RDS, Elasticache, and other AWS resources in VPCs
- **主页:** <https://www.basti.app>
- **仓库:** <https://github.com/basti-app/basti>
- **上游文档:** <https://github.com/basti-app/basti#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/basti/-/basti-1.8.0.tgz>
- **最后更新:** 2026-06-15T10:20:10-04:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- basti (cli)
- basti (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.8.0
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://www.basti.app
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Basti is an AWS-focused CLI for securely reaching private VPC resources such as RDS, Aurora, ElastiCache, and custom TCP targets. The README says the name comes from bastion host and emphasizes no idle costs, no SSH keys, and IAM-driven access.

### 项目历史

The npm package metadata shows the public `basti` package was created on 2022-06-13. The GitHub README describes a tool that wraps AWS Session Manager port forwarding and automates the bastion EC2 lifecycle needed to reach private network resources.

The project later added a CDK companion package, `basti-cdk`, and continued through 1.x releases. npm metadata shows active releases from 1.5.0 in 2023 through 1.8.0 on 2026-05-17.

### 采用历史

Basti's adoption niche is teams that want database and cache access in private AWS VPCs without a permanently running bastion host, direct inbound SSH, or hand-maintained Session Manager setup. The README explicitly targets local machines and CI/CD pipelines.

The supplied package facts show Homebrew packaging, while the README documents npm installation and Homebrew installation. The README's badges also point to npm version and total-download signals.

### 使用方式

The documented flow is `basti init` once per target to create or reuse the bastion resources, then `basti connect` to start a local port-forwarding session. A user can then connect to the resource on localhost, for example with `psql -h localhost -p 5432`.

Basti uses AWS SDK credential resolution and is expected to work when AWS CLI credentials work. It supports interactive and automatic modes, config files named `.basti.yaml`, `.basti.yml`, or `.basti.json`, AWS profile and region options, and custom TCP targets.

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

Basti is package-nerd significant because it packages a common cloud operations pattern into a single CLI: ephemeral bastion setup, Session Manager port forwarding, local TCP access, and cleanup. The value is not a new protocol, but removing recurring glue scripts around AWS infrastructure.

Its Homebrew formula matters because cloud operators often install this kind of tool beside `aws`, `psql`, `redis-cli`, and IaC CLIs rather than inside an application dependency tree.

### 时间线

- 2022-06-13: npm registry metadata records creation of the `basti` package.
- 2023-08-29: npm metadata records version 1.5.0.
- 2023-09-12: npm metadata records version 1.6.0.
- 2024-09-27: npm metadata records version 1.7.0.
- 2026-05-17: npm metadata records version 1.8.0.
- 2026: Current README documents Homebrew and npm installation, Basti CDK, config files, and Session Manager-based access.

### Related projects

- Related official technologies include AWS Systems Manager Session Manager, AWS SDK credential resolution, AWS CLI credential files, AWS CDK through the `basti-cdk` package, and AWS services such as RDS, Aurora, ElastiCache, EC2, and VPC networking.

### 来源

- <https://github.com/basti-app/basti/blob/main/README.md>
- <https://github.com/basti-app/basti/blob/main/docs/reference/cli.md>
- <https://registry.npmjs.org/basti>
- source_facts.package-manager


## 安全说明

没有找到 basti 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ./.basti.yaml, ./.basti.yml, ./.basti.json

## Credential files

- Unix: ~/.aws/credentials
- Windows: %USERPROFILE%\.aws\credentials
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** basti
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [cfn-flip](https://www.automicvault.com/zh-hans/pkg/brew/cfn-flip/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cfn-format](https://www.automicvault.com/zh-hans/pkg/brew/cfn-format/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cfnctl](https://www.automicvault.com/zh-hans/pkg/brew/cfnctl/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cfv](https://www.automicvault.com/zh-hans/pkg/brew/cfv/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cloudformation-cli](https://www.automicvault.com/zh-hans/pkg/brew/cloudformation-cli/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [e1s](https://www.automicvault.com/zh-hans/pkg/brew/e1s/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [eksctl](https://www.automicvault.com/zh-hans/pkg/brew/eksctl/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [gimme](https://www.automicvault.com/zh-hans/pkg/brew/gimme/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-amplify](https://www.automicvault.com/zh-hans/pkg/brew/aws-amplify/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.
- [aws-cdk](https://www.automicvault.com/zh-hans/pkg/brew/aws-cdk/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.
- [org-formation](https://www.automicvault.com/zh-hans/pkg/brew/org-formation/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/basti.yml](https://github.com/automic-vault/db/blob/main/combined/basti.yml)


## 来源

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