# Install basti with Homebrew

Securely connect to RDS, Elasticache, and other AWS resources in VPCs. Version 1.8.0 via Homebrew; verified 2026-06-15.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install basti
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:basti
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/basti>
- **Version:** 1.8.0
- **Source summary:** Securely connect to RDS, Elasticache, and other AWS resources in VPCs
- **Homepage:** <https://www.basti.app>
- **Repository:** <https://github.com/basti-app/basti>
- **Upstream docs:** <https://github.com/basti-app/basti#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/basti/-/basti-1.8.0.tgz>
- **Last updated:** 2026-06-15T10:20:10-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- basti (cli)
- basti (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.8.0
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://www.basti.app
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for basti. Nucleus package metadata is still published here so future coverage has a stable package 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 Details

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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [cfn-flip](https://www.automicvault.com/pkg/brew/cfn-flip/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cfn-format](https://www.automicvault.com/pkg/brew/cfn-format/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cfnctl](https://www.automicvault.com/pkg/brew/cfnctl/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cfv](https://www.automicvault.com/pkg/brew/cfv/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cloudformation-cli](https://www.automicvault.com/pkg/brew/cloudformation-cli/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [e1s](https://www.automicvault.com/pkg/brew/e1s/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [eksctl](https://www.automicvault.com/pkg/brew/eksctl/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [gimme](https://www.automicvault.com/pkg/brew/gimme/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-amplify](https://www.automicvault.com/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/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/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)


## Sources

- 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
