Homebrew https://www.novicedev.com/ en How to UPDATE HOMEBREW on Mac? https://www.novicedev.com/blog/how-update-homebrew-mac <span>How to UPDATE HOMEBREW on Mac?</span> <div class="field field--name-field-image field--type-image field--label-hidden field-item"> <img loading="lazy" src="/sites/novicedev/files/styles/blog_cover/public/2022-12/How%20to%20update%20Homebrew%20on%20macOS%3F.jpg?itok=F5RzlAI8" width="772" height="515" alt="How to UPDATE HOMEBREW on Mac?" title="How to UPDATE HOMEBREW on Mac?" class="image-field" /> </div> <span><span>noviceadmin</span></span> <span>Thu, 12/29/2022 - 09:27</span> <div> <div class="field-item"> <div class="paragraph paragraph--type--text paragraph--view-mode--default"> <div class="field field--name-field-para-text field--type-text-long field--label-hidden field-item"><p>You might have <a href="https://www.novicedev.com/blog/installing-homebrew-macos-beginners-guide">installed Homebrew</a> in the past but now you are looking to update your <a href="/blog/installing-homebrew-macos-beginners-guide">Homebrew</a> and its packages on your Mac? It's an easy process and can be done in just 2 steps.</p> <h2>Step 1: Brew update</h2> <p>First, open up your terminal and type in the following command: <em>"<strong>brew update"</strong></em>. This will update the homebrew and it should always be run before installing or updating any package with brew.</p> <pre> <code class="language-bash">$ brew update Updated 2 taps (homebrew/core and homebrew/cask). ==&gt; New Formulae aptos bzip3 cdebug flagd grayskull kwctl openvino plz-cli prs [email protected] twm xinit xorg-server aws-sam-cli cascadia ecoji gokey kubent ocm pari-nflistdata podsync quartz-wm simdutf video-compare xmodmap xrdb ==&gt; New Casks codux confectionery forkgram-telegram ideamaker mmhmm-studio oka-unarchiver runcat-plugins-manager superlist threads ==&gt; Outdated Formulae ca-certificates icu4c ncurses node ruby xz ==&gt; Outdated Casks altair-graphql-client You have 6 outdated formulae and 1 outdated cask installed. You can upgrade them with brew upgrade or list them with brew outdated.</code></pre> <h2>Step 2: Brew upgrade</h2> <p>Next, type in the command <em><strong>"brew upgrade"</strong></em>. This will upgrade all of your currently installed packages to the latest version.</p> <pre> <code>$ brew upgrade</code></pre> <h3>Upgrade individual package</h3> <p>If you only want to upgrade a specific package, you can type in the command <em><strong>"brew upgrade &lt;package name&gt;"</strong>,</em> replacing &lt;package-name&gt; with the name of the package you want to upgrade.</p> <pre> <code>$ brew upgrade &lt;package-name&gt;</code></pre> <p>Once the update is complete, you can check that all packages are up-to-date by typing in the command <em><strong>"brew outdated"</strong></em>. This will show you a list of any packages that are still not in the latest version.</p> <h2>Conclusion</h2> <p>And that's it! Your Homebrew installation is now fully updated and ready to go. If you have any issues or errors during the update process, you can check out the <a href="https://docs.brew.sh/">Homebrew documentation</a> for further assistance.</p> <p>Happy updating!</p> <p> </p> <p>Photo by <a href="https://unsplash.com/fr/@louishansel?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Louis Hansel</a> on <a href="https://unsplash.com/photos/JeHC4yA5PNw?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p> </div> </div> </div> </div> <div class="node-taxonomy-container"> <ul class="taxonomy-terms"> <li class="taxonomy-term"><a href="/topic/homebrew" hreflang="en">Homebrew</a></li> <li class="taxonomy-term"><a href="/topic/macos" hreflang="en">MacOS</a></li> </ul> </div> <!--/.node-taxonomy-container --> <section id="node-article-comment" id="comments"> <div class="comment-form-wrap"> <h2 class="add-comment-title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=31&amp;2=comment&amp;3=comment" token="bSPtugrLwN5jbrCNR2Q7iGOm7e9RD_nshh2xPTofkFA"></drupal-render-placeholder> </div> <!--/.comment-form --> </section> Thu, 29 Dec 2022 09:27:35 +0000 noviceadmin 31 at https://www.novicedev.com Installing Homebrew on macOS: A Beginner's Guide https://www.novicedev.com/blog/installing-homebrew-macos-beginners-guide <span>Installing Homebrew on macOS: A Beginner&#039;s Guide</span> <div class="field field--name-field-image field--type-image field--label-hidden field-item"> <img loading="lazy" src="/sites/novicedev/files/styles/blog_cover/public/2022-12/Installing%20Homebrew%20on%20macOS%3A%20A%20Beginner%27s%20Guide.jpg?itok=jLo250Kc" width="772" height="515" alt="Installing Homebrew on macOS: A Beginner&#039;s Guide" title="Installing Homebrew on macOS: A Beginner&#039;s Guide" class="image-field" /> </div> <span><span>noviceadmin</span></span> <span>Thu, 12/29/2022 - 08:46</span> <div> <div class="field-item"> <div class="paragraph paragraph--type--text paragraph--view-mode--default"> <div class="field field--name-field-para-text field--type-text-long field--label-hidden field-item"><p>Installing and managing open-source software is simple with <a href="https://brew.sh/">Homebrew</a>, a package manager for macOS. The methods below will let you install Homebrew on your macOS device.</p> <p>1. Launch the terminal application on your Mac. You can do this by choosing "Utilities," then "Terminal," from the "Applications" folder.</p> <p>2. Enter the following command into your terminal to install Homebrew:</p> <pre> <code>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"</code></pre> <p>By doing this, the Homebrew installation script will be downloaded and launched. The script will walk you through the installation procedure and prompt you for your password so that Homebrew can be set up in the /usr/local/ directory.</p> <p>3. To update the package database post installation, enter the following command:</p> <pre> <code>brew update</code></pre> <p>This will guarantee that you have the most recent versions of all the packages made accessible by Homebrew.</p> <p>4. Homebrew may now be used to install packages. For instance, you can issue the following command to install the git package:</p> <pre> <code>brew install git</code></pre> <p>I hope this is useful. If you have any queries, please contact me.</p> <p> </p> <p>Photo by <a href="https://unsplash.com/@peecho?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Claude Piché</a> on <a href="https://unsplash.com/photos/EHbtjmz7hvw?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p> </div> </div> </div> </div> <div class="node-taxonomy-container"> <ul class="taxonomy-terms"> <li class="taxonomy-term"><a href="/topic/homebrew" hreflang="en">Homebrew</a></li> <li class="taxonomy-term"><a href="/topic/macos" hreflang="en">MacOS</a></li> </ul> </div> <!--/.node-taxonomy-container --> <section id="node-article-comment--2" id="comments"> <div class="comment-form-wrap"> <h2 class="add-comment-title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=30&amp;2=comment&amp;3=comment" token="8wewMAKC0uqsWM0QjaNynVaLnWgPdKnjktil3Z76i3I"></drupal-render-placeholder> </div> <!--/.comment-form --> </section> Thu, 29 Dec 2022 08:46:20 +0000 noviceadmin 30 at https://www.novicedev.com How to install MySQL on macOS with Homebrew https://www.novicedev.com/blog/how-install-mysql-macos-homebrew <span>How to install MySQL on macOS with Homebrew</span> <div class="field field--name-field-image field--type-image field--label-hidden field-item"> <img loading="lazy" src="/sites/novicedev/files/styles/blog_cover/public/2021-10/How%20to%20install%20MySQL%20on%20macOS%20with%20Homebrew_0.png?itok=UA-VW6Ip" width="772" height="464" alt="How to install MySQL on macOS with Homebrew" title="How to install MySQL on macOS with Homebrew" class="image-field" /> </div> <span><span>noviceadmin</span></span> <span>Mon, 10/11/2021 - 14:29</span> <div> <div class="field-item"> <div class="paragraph paragraph--type--text paragraph--view-mode--default"> <div class="field field--name-field-para-text field--type-text-long field--label-hidden field-item"><p>This tutorial will guide you to install MySQL on your macOS with Homebrew.</p> <p>Homebrew is a package manager to provide a command-line tool to manage your utilities and applications.</p> <p><strong>NOTE:</strong> Make sure you have Homebrew installed. If not, then simply follow this guide on how to <a href="/blog/installing-homebrew-macos-beginners-guide">install Homebrew on MacOS</a></p> <h2><strong>Installation process:</strong></h2> <p><strong>1. Now simply run the below command in your terminal</strong></p> <pre> <code>$ brew install mysql</code></pre> <p><strong>2. Start the MySQL service</strong></p> <pre> <code>$ brew services start mysql</code></pre> <p><strong>3. Set root MySQL password</strong></p> <pre> <code>$ mysqladmin -u root password 'secretpassword'</code></pre> <p><strong>4. Access MySQL on mac</strong></p> <pre> <code>$ mysql -u root -p</code></pre> <p>Command will ask the password you just set in the previous step.</p> </div> </div> </div> <div class="field-item"> <div class="paragraph paragraph--type--also-read paragraph--view-mode--default"> <div class="node-taxonomy-container"> <ul class="taxonomy-terms"> <li class="taxonomy-term"><article data-history-node-id="32" role="article" class="node node-view-mode-also-read"> <h3 class="also-read-h3">Also Read</h3> <div class="also-read-content"> <div class="also-read-title"> <a href="/blog/7-tv-shows-every-programmer-should-binge-watch" target="_blank" rel="bookmark"><span>7 TV Shows Every Programmer Should Binge Watch</span> </a> </div> <div class="node-content clear"> <a href="/blog/7-tv-shows-every-programmer-should-binge-watch" target="_blank"> <div class="field field--name-field-image field--type-image field--label-hidden field-item"> <img loading="lazy" src="/sites/novicedev/files/styles/also_read/public/2022-12/Top%20TV%20Shows%20for%20Techies%20to%20Binge%20Watch.jpg?itok=qTpG8Ixe" width="115" height="65" alt="7 TV Shows Every Programmer Should Binge Watch" title="7 TV Shows Every Programmer Should Binge Watch" class="image-field" /> </div> </a> </div> </div> </article> </li> </ul> </div> <!--/.node-taxonomy-container --> </div> </div> <div class="field-item"> <div class="paragraph paragraph--type--text paragraph--view-mode--default"> <div class="field field--name-field-para-text field--type-text-long field--label-hidden field-item"><p> </p> <h2>Things to remember</h2> <p><strong>Stop MySQL service on Mac start</strong></p> <p>If you don't want MySQL service to start every time you start your mac then run the below command</p> <pre> <code>$ brew services stop mysql</code></pre> <p>This will stop the MySQL service from running in the background.</p> <p><strong>Start MySQL service</strong></p> <p>You can always run the below command to start the MySQL server on mac and it will not start on the next computer restart</p> <pre> <code>$ mysql.server start</code></pre> <p><strong>Stop MySQL service</strong></p> <p>If you want to immediately stop the MySQL service then run the below command</p> <pre> <code>$ mysql.server stop</code></pre> <p><strong>GUI clients to access database</strong></p> <p>And you can also access your database with mac MySQL client to make your life easy. Here are a couple of suggestions:</p> <ul> <li>Sequel Pro - <a href="https://www.sequelpro.com/">https://www.sequelpro.com/</a></li> <li>TablePlus - <a href="https://tableplus.com/">https://tableplus.com/</a></li> </ul> <p> </p> <p>Cover Photo by <a href="https://unsplash.com/@devintavery?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Devin Avery</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p> </div> </div> </div> </div> <div class="field field--name-body field--type-text-with-summary field--label-hidden field-item"><p><meta charset="utf-8" /></p> </div> <div class="node-taxonomy-container"> <ul class="taxonomy-terms"> <li class="taxonomy-term"><a href="/topic/homebrew" hreflang="en">Homebrew</a></li> <li class="taxonomy-term"><a href="/topic/mysql" hreflang="en">MySQL</a></li> <li class="taxonomy-term"><a href="/topic/macos" hreflang="en">MacOS</a></li> </ul> </div> <!--/.node-taxonomy-container --> <section id="node-article-comment" id="comments"> <div class="comment-form-wrap"> <h2 class="add-comment-title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=14&amp;2=comment&amp;3=comment" token="fmIfbiR8nl0e3Twra6AbI8B26q-U9xssL7b2YNbxsOs"></drupal-render-placeholder> </div> <!--/.comment-form --> </section> Mon, 11 Oct 2021 14:29:20 +0000 noviceadmin 14 at https://www.novicedev.com