{"id":632,"date":"2023-09-11T20:16:09","date_gmt":"2023-09-12T03:16:09","guid":{"rendered":"https:\/\/downthecrop.xyz\/blog\/?p=632"},"modified":"2023-10-17T14:40:52","modified_gmt":"2023-10-17T21:40:52","slug":"how-to-install-sunshine-on-macos","status":"publish","type":"post","link":"https:\/\/downthecrop.xyz\/blog\/how-to-install-sunshine-on-macos\/","title":{"rendered":"How to Install Sunshine on macOS: A Step-by-Step Guide"},"content":{"rendered":"<p>Setting up Sunshine on macOS requires some preliminary steps to ensure all dependencies and configurations are in place. In this blog post, we will walk through the entire installation process, step by step, so you can easily get Sunshine running on your Mac system.<\/p>\n<h3>Install MacPorts<\/h3>\n<p>The first thing we need to do is install MacPorts, a package management system for macOS. Follow the instructions on the official MacPorts installation page.<\/p>\n<p><a href=\"https:\/\/www.macports.org\/install.php\">https:\/\/www.macports.org\/install.php<\/a><\/p>\n<h3>Add Sunshine to MacPorts<\/h3>\n<p>Before we can install Sunshine, we need to add it to our MacPorts source list.<\/p>\n<p>Update MacPorts Sources:<\/p>\n<pre><code class=\"language-csharp\">echo &quot;file:\/\/\/Users\/$USER\/ports&quot; | sudo tee -a \/opt\/local\/etc\/macports\/sources.conf<\/code><\/pre>\n<h3>Download Portfile for Sunshine<\/h3>\n<p>First, navigate to the folder where you'll place the Portfile. Create it if it doesn't exist<\/p>\n<pre><code class=\"language-bash\">mkdir -p ~\/ports\/multimedia\/sunshine<\/code><\/pre>\n<p>Download the Portfile using <code><code>curl<\/code><\/code><\/p>\n<pre><code class=\"language-bash\">curl -L -o ~\/ports\/multimedia\/sunshine\/Portfile https:\/\/github.com\/LizardByte\/Sunshine\/releases\/latest\/download\/Portfile<\/code><\/pre>\n<h3>Update Port Index and Install Sunshine<\/h3>\n<p>Navigate to the ports directory and update the port index:<\/p>\n<pre><code class=\"language-bash\">cd ~\/ports\nsudo portindex<\/code><\/pre>\n<p>Finally, install Sunshine:<\/p>\n<pre><code class=\"language-bash\">sudo port install sunshine<\/code><\/pre>\n<h3>Run Sunshine<\/h3>\n<p>Launch Sunshine by running the following command in the Terminal:<\/p>\n<pre><code class=\"language-bash\">sunshine<\/code><\/pre>\n<blockquote>\n<p>The first time you start Sunshine, you will be asked to grant access to screen recording and your microphone.<\/p>\n<\/blockquote>\n<p>Sunshine will start a web server, which you can access at <a href=\"https:\/\/localhost:47990\">https:\/\/localhost:47990<\/a>. Remember to accept the self-signed certificate warning.<\/p>\n<h2>Configure macOS Audio<\/h2>\n<h3>Install BlackHole Audio Sink<\/h3>\n<p>BlackHole is an audio sink that will help us in redirecting audio. Open your Terminal and run:<\/p>\n<pre><code class=\"language-bash\">sudo port install BlackHole<\/code><\/pre>\n<p>For audio, make sure you set &quot;BlackHole 2ch&quot; as your input device in the Sunshine configuration. Even though &quot;BlackHole 2ch&quot; appears as the placeholder text, you'll have to manually type it into the field to set it.<\/p>\n<p>And that's it! You have successfully installed and configured Sunshine on your macOS system. Enjoy streaming your macOS desktop and audio to other devices!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up Sunshine on macOS requires some preliminary steps to ensure all dependencies and configurations are in place. In this blog post, we will walk through the entire installation process, step by step, so you can easily get Sunshine running on your Mac system. Install MacPorts The first thing we need to do is install &hellip; <a href=\"https:\/\/downthecrop.xyz\/blog\/how-to-install-sunshine-on-macos\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to Install Sunshine on macOS: A Step-by-Step Guide<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[773],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/posts\/632"}],"collection":[{"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":14,"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/posts\/632\/revisions"}],"predecessor-version":[{"id":647,"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/posts\/632\/revisions\/647"}],"wp:attachment":[{"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/categories?post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/downthecrop.xyz\/blog\/wp-json\/wp\/v2\/tags?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}