What you end up with
HandMouse installed like any other app on your Mac. It is free, and it stays free — there is no account, no trial and no subscription at the end of this.
- Time
- About 20 minutes
- Steps
- 12
- Cost
- Free
Before you start
These are one-time installs. If you have used Terminal before, you may have them already — the first step checks.
Install Git
Apple opens a small installer.
Type this into Terminal, then press Return.
xcode-select --installYou know this worked when: Git responds with a version number
Install Node LTS
Choose the macOS Installer (.pkg).
Open downloadYou know this worked when: Node responds with a version number
Install HandMouse
Open Terminal
Keep it open beside this page.
You know this worked when: Terminal is open
Check Git and Node
Git and the current Node LTS are required.
Type this into Terminal, then press Return.
git --version node --versionYou know this worked when: Git and Node respond with version numbers
Install uv
Needs Python already installed.
Type this into Terminal, then press Return.
python3 -m pip install --user uvYou know this worked when: uv responds with a version number
Install Python
Choose the macOS installer (.pkg), then reopen Terminal.
Open downloadYou know this worked when: python3 --version prints a version
Copy HandMouse to this Mac
Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.
cd ~ if [ ! -d HandMouse/.git ]; then git clone https://github.com/phanxne/HandMouse.git fiYou know this worked when: A HandMouse folder appears
Open the HandMouse folder
Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.
cd ~ cd HandMouseYou know this worked when: Your terminal prompt is inside the HandMouse folder
Use the reviewed version
Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.
cd ~/HandMouse git checkout 65784107665a1454e86954ba777aa538ca2983a9You know this worked when: Git reports the reviewed commit
Install dependencies
Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.
cd ~/HandMouse uv venv && uv pip install -r requirements.txtYou know this worked when: The command finishes without an error
Try HandMouse
Keep Terminal open.
Type this into Terminal, then press Return. The first line moves you into the folder this step runs in, so it works in a window you have just opened.
cd ~/HandMouse uv run launch_sim.pyYou know this worked when: HandMouse opens
Try it
HandMouse should be open and ready to use.
You know this worked when: HandMouse works
If something goes wrong
Nothing here can damage your computer, and every step can be run again safely. If a command fails, the usual cause is the step before it not having finished.
Still stuck? Tell us what happened and we will fix the guide. Include the step number and we can usually reproduce it.