mirror of
https://github.com/Valkyrie00/bold-brew.git
synced 2026-03-14 14:25:53 +01:00
Comprehensive website update to reflect Bold Brew 2.0 capabilities and official Project Bluefin partnership.
322 lines
No EOL
13 KiB
HTML
322 lines
No EOL
13 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>10 Essential Homebrew Commands You Should Know</title>
|
|
<meta name="description" content="Master the most important Homebrew commands for macOS package management. Learn how to install, update, and manage packages efficiently.">
|
|
<meta name="keywords" content="Homebrew commands, brew commands, macOS package management, brew update, brew install, brew upgrade, brew search, essential commands">
|
|
<meta name="author" content="Valkyrie00">
|
|
<meta name="robots" content="index, follow, max-image-preview:large">
|
|
<meta name="theme-color" content="#1a1a1a">
|
|
|
|
<!-- DNS Prefetch & Preconnect for Performance -->
|
|
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
|
|
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
|
|
<link rel="dns-prefetch" href="https://www.googletagmanager.com">
|
|
<link rel="preconnect" href="https://www.googletagmanager.com" crossorigin>
|
|
|
|
<!-- OpenGraph Tags -->
|
|
<meta property="og:title" content="10 Essential Homebrew Commands You Should Know">
|
|
<meta property="og:description" content="Master the most important Homebrew commands for macOS package management. Learn how to install, update, and manage packages efficiently.">
|
|
<meta property="og:image" content="https://bold-brew.com/assets/logo/bbrew-logo-rounded.png">
|
|
<meta property="og:image:width" content="200">
|
|
<meta property="og:image:height" content="200">
|
|
<meta property="og:image:alt" content="Bold Brew Logo">
|
|
<meta property="og:url" content="https://bold-brew.com/blog/essential-homebrew-commands.html">
|
|
<meta property="og:type" content="article">
|
|
<meta property="og:site_name" content="Bold Brew">
|
|
|
|
<!-- Twitter Card Tags -->
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content="10 Essential Homebrew Commands You Should Know">
|
|
<meta name="twitter:description" content="Master the most important Homebrew commands for macOS package management. Learn how to install, update, and manage packages efficiently.">
|
|
<meta name="twitter:image" content="https://bold-brew.com/assets/logo/bbrew-logo-rounded.png">
|
|
<meta name="twitter:image:alt" content="Bold Brew Logo">
|
|
<meta name="twitter:creator" content="@Valkyrie00">
|
|
<meta name="twitter:site" content="@Valkyrie00">
|
|
|
|
<!-- Additional SEO Meta Tags -->
|
|
<meta name="application-name" content="Bold Brew">
|
|
<meta name="apple-mobile-web-app-title" content="Bold Brew">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="msapplication-TileColor" content="#1a1a1a">
|
|
<meta name="msapplication-config" content="none">
|
|
|
|
<link rel="canonical" href="https://bold-brew.com/blog/essential-homebrew-commands.html">
|
|
<link rel="alternate" hreflang="en" href="https://bold-brew.com/blog/essential-homebrew-commands.html">
|
|
<link rel="alternate" hreflang="x-default" href="https://bold-brew.com/blog/essential-homebrew-commands.html">
|
|
|
|
<!-- Stylesheets -->
|
|
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" as="stylesheet">
|
|
<link rel="preload" href="/assets/css/styles.css" as="stylesheet">
|
|
<link rel="preload" href="/assets/bbrew-logo-nobg.png" as="image">
|
|
|
|
<!-- Stylesheets -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="/assets/css/styles.css" rel="stylesheet">
|
|
|
|
<!-- Favicons -->
|
|
<link rel="icon" href="/assets/ico/bbrew-16.ico" sizes="16x16" type="image/x-icon">
|
|
<link rel="icon" href="/assets/ico/bbrew-24.ico" sizes="24x24" type="image/x-icon">
|
|
<link rel="icon" href="/assets/ico/bbrew-32.ico" sizes="32x32" type="image/x-icon">
|
|
<link rel="icon" href="/assets/ico/bbrew-48.ico" sizes="48x48" type="image/x-icon">
|
|
<link rel="manifest" href="/manifest.json">
|
|
|
|
<!-- Scripts -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" defer></script>
|
|
|
|
<!-- Schema.org Markup -->
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "SoftwareApplication",
|
|
"name": "Bold Brew (bbrew)",
|
|
"operatingSystem": ["macOS", "Linux"],
|
|
"applicationCategory": "DeveloperApplication",
|
|
"description": "Bold Brew: A modern TUI interface for managing Homebrew packages and casks on macOS and Linux. Effortlessly install, search, update, and remove packages with an elegant and intuitive interface.",
|
|
"url": "https://bold-brew.com",
|
|
"author": {
|
|
"@type": "Person",
|
|
"name": "Valkyrie00"
|
|
},
|
|
"offers": {
|
|
"@type": "Offer",
|
|
"price": "0",
|
|
"priceCurrency": "USD"
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<!-- Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MM4FCW9XZM"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', 'G-MM4FCW9XZM');
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav class="navbar navbar-expand-lg navbar-dark">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="/">
|
|
<img src="/assets/bbrew-logo-nobg.png" alt="Bold Brew Logo" width="32" height="32">
|
|
<span>Bold Brew</span>
|
|
</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ms-auto">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/#features">Features</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/#install">Install</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/#about">About</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/blog/">Blog</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="https://github.com/Valkyrie00/bold-brew" target="_blank" rel="noopener noreferrer">GitHub</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container my-5">
|
|
|
|
<div class="container my-4">
|
|
<nav aria-label="breadcrumb">
|
|
<div class="breadcrumb">
|
|
|
|
<div class="breadcrumb-item ">
|
|
|
|
<a href="/">Home</a>
|
|
|
|
</div>
|
|
|
|
<div class="breadcrumb-item ">
|
|
|
|
<a href="/blog/">Blog</a>
|
|
|
|
</div>
|
|
|
|
<div class="breadcrumb-item active">
|
|
|
|
10 Essential Homebrew Commands You Should Know
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
|
|
<article>
|
|
<header class="mb-5">
|
|
<h1>10 Essential Homebrew Commands You Should Know</h1>
|
|
<div class="meta">
|
|
<span class="date">2025-03-29</span>
|
|
<span class="author">By Valkyrie00</span>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="content">
|
|
<h1>10 Essential Homebrew Commands You Should Know</h1>
|
|
<p>Homebrew is the most popular package manager for macOS, and mastering its commands is essential for efficient package management. In this guide, we'll explore the 10 most important Homebrew commands that every macOS user should know.</p>
|
|
<h2>1. Install Packages</h2>
|
|
<p>The most basic and commonly used command is <code>brew install</code>:</p>
|
|
<pre><code class="language-bash">brew install package_name
|
|
</code></pre>
|
|
<p>You can also install multiple packages at once:</p>
|
|
<pre><code class="language-bash">brew install package1 package2 package3
|
|
</code></pre>
|
|
<h2>2. Update Homebrew</h2>
|
|
<p>Keep your Homebrew installation up to date:</p>
|
|
<pre><code class="language-bash">brew update
|
|
</code></pre>
|
|
<p>This command updates Homebrew's package database to the latest version.</p>
|
|
<h2>3. Upgrade Packages</h2>
|
|
<p>Upgrade all installed packages:</p>
|
|
<pre><code class="language-bash">brew upgrade
|
|
</code></pre>
|
|
<p>Or upgrade a specific package:</p>
|
|
<pre><code class="language-bash">brew upgrade package_name
|
|
</code></pre>
|
|
<h2>4. Remove Packages</h2>
|
|
<p>Uninstall a package:</p>
|
|
<pre><code class="language-bash">brew uninstall package_name
|
|
</code></pre>
|
|
<h2>5. Get Package Information</h2>
|
|
<p>View detailed information about a package:</p>
|
|
<pre><code class="language-bash">brew info package_name
|
|
</code></pre>
|
|
<h2>6. List Installed Packages</h2>
|
|
<p>See all currently installed packages:</p>
|
|
<pre><code class="language-bash">brew list
|
|
</code></pre>
|
|
<h2>7. Search for Packages</h2>
|
|
<p>Find packages in the Homebrew repository:</p>
|
|
<pre><code class="language-bash">brew search package_name
|
|
</code></pre>
|
|
<h2>8. Check System Status</h2>
|
|
<p>Diagnose your Homebrew installation:</p>
|
|
<pre><code class="language-bash">brew doctor
|
|
</code></pre>
|
|
<h2>9. Clean Up</h2>
|
|
<p>Remove old versions and clean the cache:</p>
|
|
<pre><code class="language-bash">brew cleanup
|
|
</code></pre>
|
|
<h2>10. Manage Taps</h2>
|
|
<p>List tapped repositories:</p>
|
|
<pre><code class="language-bash">brew tap
|
|
</code></pre>
|
|
<p>Add a new tap:</p>
|
|
<pre><code class="language-bash">brew tap user/repo
|
|
</code></pre>
|
|
<h2>Pro Tips</h2>
|
|
<ol>
|
|
<li>Combine update and upgrade:</li>
|
|
</ol>
|
|
<pre><code class="language-bash">brew update && brew upgrade
|
|
</code></pre>
|
|
<ol start="2">
|
|
<li><p>Use <code>brew doctor</code> regularly to maintain a healthy Homebrew installation.</p>
|
|
</li>
|
|
<li><p>Consider using Bold Brew for a more intuitive package management experience.</p>
|
|
</li>
|
|
</ol>
|
|
<h2>Conclusion</h2>
|
|
<p>These commands form the foundation of Homebrew usage. While mastering the command line is important, tools like Bold Brew can make package management more intuitive and efficient.</p>
|
|
<p>Remember to check the <a href="https://bold-brew.com">Bold Brew documentation</a> for more tips and tricks on managing your Homebrew packages. </p>
|
|
|
|
</div>
|
|
|
|
<footer class="mt-5">
|
|
<div class="tags">
|
|
<span class="tag">Homebrew</span>
|
|
<span class="tag">macOS</span>
|
|
<span class="tag">Command Line</span>
|
|
<span class="tag">Development Tools</span>
|
|
</div>
|
|
</footer>
|
|
</article>
|
|
</main>
|
|
|
|
<footer>
|
|
<div class="container">
|
|
<p>© 2025 Bold Brew | <a href="https://github.com/Valkyrie00/bold-brew" target="_blank" rel="noopener noreferrer">GitHub</a></p>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Back to top button -->
|
|
<button class="back-to-top" aria-label="Torna in alto">
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 10l7-7m0 0l7 7m-7-7v18" />
|
|
</svg>
|
|
</button>
|
|
|
|
<!-- Scripts -->
|
|
<script>
|
|
function copyToClipboard(button) {
|
|
const preEl = button.parentElement.querySelector('pre');
|
|
const codeText = preEl.textContent;
|
|
const cleanText = codeText.replace(/^>\s/, '');
|
|
|
|
navigator.clipboard.writeText(cleanText).then(() => {
|
|
const copyText = button.querySelector('.copy-text');
|
|
copyText.textContent = 'Copied!';
|
|
|
|
setTimeout(() => {
|
|
copyText.textContent = 'Copy';
|
|
}, 2000);
|
|
});
|
|
}
|
|
|
|
// Chiudi il menu mobile quando si clicca su un link
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const navLinks = document.querySelectorAll('.navbar-nav .nav-link');
|
|
const menuToggle = document.getElementById('navbarNav');
|
|
const bsCollapse = new bootstrap.Collapse(menuToggle, {toggle: false});
|
|
|
|
navLinks.forEach(link => {
|
|
link.addEventListener('click', () => {
|
|
if (window.innerWidth < 992) { // Solo su mobile
|
|
bsCollapse.hide();
|
|
}
|
|
});
|
|
});
|
|
|
|
// Gestione del pulsante back-to-top
|
|
const backToTop = document.querySelector('.back-to-top');
|
|
|
|
window.addEventListener('scroll', () => {
|
|
if (window.scrollY > 300) {
|
|
backToTop.classList.add('visible');
|
|
} else {
|
|
backToTop.classList.remove('visible');
|
|
}
|
|
});
|
|
|
|
backToTop.addEventListener('click', () => {
|
|
window.scrollTo({
|
|
top: 0,
|
|
behavior: 'smooth'
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |