diff --git a/cli/includes/helpers.php b/cli/includes/helpers.php
index <HASH>..<HASH> 100644
--- a/cli/includes/helpers.php
+++ b/cli/includes/helpers.php
@@ -16,7 +16,7 @@ define('VALET_STATIC_PREFIX', '41c270e4-5535-4daa-b23e-c269744c2f45');
 
 define('VALET_LEGACY_HOME_PATH', $_SERVER['HOME'].'/.valet');
 
-define('PHP_BINARY_PATH', (new CommandLine())->runAsUser('echo $(brew --prefix)/bin/php'));
+define('PHP_BINARY_PATH', (new CommandLine())->runAsUser('printf $(brew --prefix)/bin/php'));
 
 /**
  * Output the given text to the console.
Fix command to get binary path

Because echo is include new line but printf is not include