How to Emulate Google Chromecast on Windows, Mac and Linux Desktop

Windows, Mac
Chromecast Desktop

Google’s latest hardware offering, Google Chromecast was an instant hit as it promised a better way of beaming/ controlling  multimedia content from your mobile phone on to a TV than the current choices we have right now. Now when a popular company like Google is trying to solve an age old problem that haunted Android, with a less expensive ($35) hardware, we should expect it to run out of stock. That is what exactly happened to Chromecast as it ran out of stock on all popular online stores including Google’s own Play store. Now if you have already pre-ordered a Chromecast or is in queue, here is something for you impatient folks, ready to play with few command lines.

Github user (dz0ny) has developed a Python package called Leapcast that can emulate the Chromecast hardware in Chromium environment running on your Mac, Windows and Linux. In order to achieve this hack on your computer all you have to do is carefully follow the steps below.

To start with here is what you are going to do in a nutshell. Bet it on Windows, Mac or Linux, you need to make sure Chrome browser and Python is installed and working. We then install git and command line tools to clone Github repository on to your computer. Run Python setup file to install virtual Chromecast environment and finally you need to run the command line with flags to successfully run Leapcast every time before you cast. That’s it you can now start casting from your Android and iOS devices to desktop.

Also check: How to Enable AirPlay on Windows PC for Wireless Streaming Audio & Video from iOS Devices

Emulate Google Chromecast on Windows

Note that Leapcast is still in testing phase and is expected to be updated frequently. Right now it supports YouTube and Google Play casting from Android phones, tables and iOS devices.

Note: Before starting, make sure Chrome browser is installed and your internet connection is working.

Steps to emulate Google Chromecast hardware in Chrome browser:

Emulate Google Chromecast On Mac OS X:

1) Open the Terminal app via Launchpad.

2) Make sure you have Python installed on your Mac and it’s working. Type the command ‘python’ in Terminal prompt and you should see a similar screen with the version displayed.

Emulate Google Chromecast on Mac

3) Download and install Github for Mac from here. Once after you finish installing, head over to the Github preferences from the Mac taskbar and click ‘Install Command Line Tools‘.

Github Mac Command Line


Run the following command line to install Homebrew package manager and then install git on your Mac via command line.

ruby -e "$(curl -fsSL"
brew install git

4) Now clone the entire Leapcast Github repo on to your Mac by carefully entering the following command line Terminal prompt and hit enter.

git clone

5) Move to the ‘leapcast‘ folder installed on your Mac by enterting,

cd ./leapcast

6) Now to install the Leapcast package,

python develop

7) Run the following command with flags to run Leapcast and start casting from your mobile device,

leapcast --name MyMac --chrome /Applications/Google\\ Chrome

Emulate Google Chromecast On Linux (Ubuntu/ Debian):

1) Open the Terminal app and make sure Python is working (same as Step 2 for Mac OS)

2) Install git by typing,

Also check For: Top 5 Augmented Reality Apps for Android (August 2020)

 sudo apt-get install git

3) Clone Leapcast Github to your Linux machine by punching in,

git clone

4) Move to Leapcast folder

cd ./leapcast

5) Now to run the setup file and install Leapcast,

python develop

6) Run Leapcast by executing the following command line in Terminal prompt,

leapcast --name MyLinux --chrome /usr/bin/google-chrome --fullscreen

Emulate Google Chromecast on Windows 7/ 8:

1) Download and install 32 bit version of Python for Windows.

google chromecast on windows

2) Note that Python version 2.7 will be installed at C:\Python27\. Now you need to add this Python directory to the PATH variable so that you can simply call Python from the Windows command prompt by typing the keyword ‘python’. Run this in command prompt,

[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\;C:\Python27\Scripts\", "User")

3) Now to download and install a third-party Python software known as Distribute, which extends the packaging and installation facilities. Download Python-Distribute python file from here and save it in root of  C:\. Run the following in command prompt window,

python c:\

4) Also install Pip, a tool for installing and managing Python packages.

easy_install pip

5) Download and install Twisted (networking framework written in Python) for Windows from here.

6) Download and install Github for Windows. Click to open the ‘Git Shell‘ PowerShell shortcut icon on your desktop and enter the following command to clone Leapcast repo to your computer.

git clone
Clone Git Windows

7) Move into Leapcast folder,

cd leapcast

8 ) Run setup file and intall Leapcast,

pip install .

9) Every time you want to emulate Chromecast on Windows 8, run Leapcast by typing,

leapcast --name MyWindows --chrome 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' --fullscreen

The above command line is Windows 8 specific and if you are on Windows 7 PC make sure you make changes to Chrome file location.

Also read: BSNL 3G Data Plans 2020, Bandwidth and Transfer Speed Review

Leave a Reply

Your email address will not be published. Required fields are marked *