diff --git a/cli/Valet/Brew.php b/cli/Valet/Brew.php
index <HASH>..<HASH> 100644
--- a/cli/Valet/Brew.php
+++ b/cli/Valet/Brew.php
@@ -46,6 +46,17 @@ class Brew
     }
 
     /**
+     * Determine if a compatible nginx version is Homebrewed.
+     *
+     * @return bool
+     */
+    function hasInstalledNginx()
+    {
+        return $this->installed('nginx')
+            || $this->installed('nginx-full');
+    }
+
+    /**
      * Ensure that the given formula is installed.
      *
      * @param  string  $formula
diff --git a/cli/Valet/Nginx.php b/cli/Valet/Nginx.php
index <HASH>..<HASH> 100644
--- a/cli/Valet/Nginx.php
+++ b/cli/Valet/Nginx.php
@@ -37,7 +37,9 @@ class Nginx
      */
     function install()
     {
-        $this->brew->ensureInstalled('nginx', ['--with-http2']);
+        if (!$this->brew->hasInstalledNginx()) {
+            $this->brew->installOrFail('nginx', ['--with-http2']);
+        }
 
         $this->installConfiguration();
         $this->installServer();
Fix for issue #<I> - brew package nginx-full not properly recognized as a valid nginx installation