Tech with Tyler
LinkedInGitHubYouTube
  • 👋Welcome!
    • whoami
    • !!! Disclaimer !!!
  • 🎓Academy
    • AWS Security Cookbook by Tyler
      • AWS Control Tower
        • Lab: Deploying AWS Control Tower via Terraform
      • AWS CloudTrail
      • AWS GuardDuty
        • Lab: Deploying AWS GuardDuty via Terraform
        • Lab: Logging GuardDuty Findings to S3
        • Lab: Adversary Simulation Detection with Stratus Red Team and GuardDuty
      • AWS Organizations
        • Lab: Deploying AWS Organizations via Terraform
      • AWS Root Account Management
        • Lab: Deploying AWS Root Account Management via Terraform
      • AWS Service Control Policies (SCPs)
        • Lab: Deploying AWS Service Control Policies (SCPs) via Terraform
      • TBD - Coming Soon!
        • [TBD] AWS Account Factory
        • [TBD] AWS Identity Center
    • My content on Cybr
      • Course - Terraform on AWS: From Zero to Cloud Infrastructure
      • Lab - Create Static AWS S3 Website with Terraform
      • Lab - Secure EC2 Access with SSM Session Manager and KMS
      • Lab - Encrypt and Decrypt Data with KMS and Data Encryption Keys
    • My content on PwnedLabs
      • Cyber Range - Electra
      • Lab - Abusing Identity Providers in AWS
      • Lab - Prowler and AWS Security Hub
      • Blog - Abusing Identity Providers in AWS
      • Blog - Building Security Guardrails with AWS Resource Control Policies
      • Blog - Defending Against the whoAMI Attack with AWS Declarative Policies
    • My content on YouTube
      • AWS Security Engineering
      • Linux in 60 Seconds!
  • ☁️Cloud Security
    • AWS Attacks and Techniques
      • Enumerate AWS Account IDs
      • Enumerate AWS IAM Users
      • Enumerate (Unauthenticated) IAM Users and Roles
      • Enumerate AWS Public Resources
      • Enumerate Secrets in AWS
      • Generate AWS Console Session
      • Generate IAM Access Keys from CloudShell
      • Password Spraying AWS IAM Users
      • Subdomain Takeovers
    • AWS Privilege Escalation
      • Identity Access Management (IAM)
      • IAM Trust Policies
      • Key Management Service (KMS)
      • Lightsail
      • OpenID Connect (OIDC)
      • S3
      • Secrets Manager
      • Security Token Service (STS)
    • AWS General Info
      • Amazon Bedrock
      • EC2
      • KMS
      • S3
      • SNS Topic
    • AWS CLI Cheat Sheet
    • Capture the Flags (CTFs)
      • Flaws.Cloud
        • Level 1
        • Level 2
        • Level 3
        • Level 4
        • Level 5
        • Level 6
      • PwnedLabs
        • Escalate Privileges by IAM Policy Rollback
        • Exploiting Weak S3 Bucket Policies
        • Leveraging S3 Bucket Versioning
        • S3 Enumeration Basics
        • Pillage Exposed RDS Instances
        • EC2 SSRF Attack
        • Hunt for Secrets in Git Repos
      • Cybr
        • Challenge - Secrets Unleashed
    • Tools
      • Tooling Index
      • dsnap
      • Pacu
      • s3-account-search
      • GoAWSConsoleSpray
      • aws_consoler
      • cloudenum
  • 📦Containers & Orchestration
    • Kubernetes
  • 👨‍💻Coding & CLI Tooling
    • CLI Tools
      • AWS CLI
      • Git
      • GitHub Copilot (CLI)
      • Homebrew
      • jq
      • ngrok
      • ssh
    • Coding and Scripting
      • Bash
      • Python
    • Terminal Customization
  • ⚙️DevSecOps
    • CI/CD
      • GitLab
    • Hashicorp Terraform
    • Hashicorp Vault
    • IAC Scanning
      • tfsec
    • Secrets Scanning
      • Trufflehog
  • 🎁Miscellaneous
    • Jenkins
  • 💻Operating Systems
    • Linux
      • APT Package Manager
      • CLI Tools Cheat Sheet
      • Man Pages
      • Services
      • Users and Groups
  • 🏗️Projects
    • Active Directory Homelab Automation
    • AWS Cloud Resume Challenge
    • Proxmox Homelab as Code
  • 📌Other
    • Useful Resources
Powered by GitBook
On this page
  • Installation
  • Commands
  • Find app
  • Get app info
  • Install app
  • List installed apps
  • macOS apps
  • Find app
  • Get app info
  • Install app
  • List installed apps
  • Brew Bundles & Brewfiles
  • Generate Brewfile
  • Install Bundle

Was this helpful?

  1. Coding & CLI Tooling
  2. CLI Tools

Homebrew

Tips and tricks for working with the best package manager for MacOS!

PreviousGitHub Copilot (CLI)Nextjq

Last updated 10 months ago

Was this helpful?

Installation

Most recent instructions on

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Commands

Find app

brew search visual-studio-code

==> Casks
visual-studio                     visual-studio-code ✔              visual-studio-code@insiders

Get app info

brew info awscli       
      
==> awscli: stable 2.17.27 (bottled), HEAD
Official Amazon AWS command-line interface
https://aws.amazon.com/cli/

Install app

brew install awscli

List installed apps

brew list     
                
==> Formulae
awscli			icu4c			mpfr			python@3.12

macOS apps

Homebrew can manage macOS apps from the App Store! You just need to install mas first.

brew install mas

Find app

mas search upnote

1398373917  UpNote: notes, diary, journal  (9.5.2)
1312926037  stoic. journal & mental health (2024.27)
1566998257  UpNote Web Clipper             (1.2.1)

Get app info

mas info 1398373917

UpNote: notes, diary, journal 9.5.2 [0.0]
By: UpNote Company Limited

Install app

mas install 1398373917

List installed apps

mas list

1352778147  Bitwarden  (2024.6.4)
1398373917  UpNote     (9.5.2)

Brew Bundles & Brewfiles

A Brew Bundle is a Brewfile containing all of the apps you wish to install. This is super useful when reimaging or moving to another system.

Generate Brewfile

This creates the Brewfile within the current directory.

brew bundle dump

Install Bundle

This installs apps from Brewfile

# uses Brewfile in the current directory
brew bundle install

# uses Brewfile stored elsewhere
brew bundle install --file /path/to/Brewfile

Refer to the for more info.

👨‍💻
brew.sh
mas documentation