<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>cask on Andrew Beaton</title>
    <link>https://andrewbeaton.net/tags/cask/</link>
    <description>Recent content in cask on Andrew Beaton</description>
    <image>
      <title>Andrew Beaton</title>
      <url>https://andrewbeaton.net/me.jpeg</url>
      <link>https://andrewbeaton.net/me.jpeg</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 13 Oct 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://andrewbeaton.net/tags/cask/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Installing applications using Homebrew Cask on macOS</title>
      <link>https://andrewbeaton.net/posts/2019/10/installing-applications-using-homebrew/</link>
      <pubDate>Sun, 13 Oct 2019 00:00:00 +0000</pubDate>
      
      <guid>https://andrewbeaton.net/posts/2019/10/installing-applications-using-homebrew/</guid>
      <description>Installing applications using Homebrew Cask on macOS</description>
      <content:encoded><![CDATA[<p>In my previous guide we walked through <a href="/posts/2019/10/installing-homebrew-on-macos/">installing and using Homebrew</a>. Today we are going to look at extending Homebrew to support the installation of graphical applications. The kind you would normally drag to your Applications folder.</p>
<p>Homebrew Cask extends Homebrew. Bringing its simplicity and speed to the installation and management of GUI macOS applications such as Atom and Google Chrome.</p>
<p>To install an application or cask using Homebrew Cask you can run the following simple command:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-Bash" data-lang="Bash"><span style="display:flex;"><span>brew cask install <span style="color:#f92672">[</span>application name<span style="color:#f92672">]</span>
</span></span></code></pre></div><p>An easy example that would install Spotify for example, is:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-Bash" data-lang="Bash"><span style="display:flex;"><span>brew cask install spotify
</span></span></code></pre></div><p>To search for an application, do:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-Bash" data-lang="Bash"><span style="display:flex;"><span>brew cask search <span style="color:#f92672">[</span>application name<span style="color:#f92672">]</span>
</span></span></code></pre></div><p>And finally, to remove an application:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-Bash" data-lang="Bash"><span style="display:flex;"><span>brew cask uninstall <span style="color:#f92672">[</span>application name<span style="color:#f92672">]</span>
</span></span></code></pre></div><p>Homebrew provides a nice little web page for finding applications that are available to be installed and you can access this on the Homebrew website.</p>
<p>Sometimes you may find it useful to be able to install a different version of an application, if you want a beta release or to run a previous version. 1Password 6 or Google Chrome Beta are good examples here.</p>
<p>We do this by using the Homebrew tap command to connect in another repository. We will be using the homebrew-cask-versions repository from GitHub.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-Bash" data-lang="Bash"><span style="display:flex;"><span>brew tap homebrew/cask-versions
</span></span></code></pre></div><p>And to install our specific version, we use this command:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-Bash" data-lang="Bash"><span style="display:flex;"><span>brew cask install 1Password6
</span></span></code></pre></div>]]></content:encoded>
    </item>
    
  </channel>
</rss>
