Install or update
Check the system requirements first. Run the same command again any time to update in place. Windows: open PowerShell as Administrator and paste:Sign in when you need to
The app starts signed out. Local scripts need no account, and neither do free marketplace scripts without source protection; see Installing scripts. Sign in for your library, reviews, purchases, and hardware mode. Click Sign in in Settings, choose Open rebind.gg to get a code, sign in on the website, and paste the pairing code it gives you. The App Tour covers the rest of the window.Your first script
This complete script remaps CapsLock to Escape. Open Scripts, click New File above the file list (or New script when no file is open), and paste it:
New File opens an unsaved untitled-1.lua with a starter script. Select all of it and paste the script above in its place.

The pasted script, not saved yet: the tab shows a dot and the toolbar shows Modified.

The Scripts view: files on the left, the editor on the right. This script is running, so the toolbar shows Stop where a stopped script shows Run.

The Logs tab of the running script: Rebind loaded it and started it.
- The
--[[ rebind: ... ]]block at the top is the modeline, the script’s configuration. Onerebind:line per setting reads best; a single-line-- rebind: key=valueform works too. min_sdkis required: the oldest Rebind version the script runs on. Rebind refuses a script without one, and one that asks for a newer version than you have.3.9.0is the first release with therbnames. A script inside a package takesmin_sdkfrom itsrebind.toml.name=is the display name andversion=the script’s own version. Rebind runs a script without them, butrebind checkasks for both. Every other key is optional; see the modeline reference.rb.bind.remap(from, to)sendstowhenever you pressfrom, for as long as the script runs.
down handler with rb.on. It
runs on every key press with the key name; returning false blocks the
original key:
rb.bind.remap is shorter for a one-to-one remap; a handler leaves room for
conditions and logic. The Scripting Guide covers
both.
Where scripts live
The Scripts view edits real.lua and .luau files in your scripts folder:
- Windows:
%APPDATA%\Rebind\scripts - macOS:
~/Library/Application Support/Rebind/scripts
require. Uninstalling Rebind leaves this folder in place.
A fresh install puts Circle Demo and Mouse Inverter (it needs Rebind Link)
there. Every install also gets welcome-tour.luau, a guided tour of the SDK
with hands-on steps. On a fresh install it starts each time Rebind starts
until you finish it or stop it, and a later release may start it once more.
Open it and press Run to see it again at any time. If you delete it, it
stays deleted.
To write scripts with AI in the app, see Use Assistant.
Kill switch
PressLeft Ctrl + Left Alt + K (Left Control + Left Option + K on macOS)
at any time to stop every script and release every held key and button. Only
the left-hand modifiers trigger it. In hardware mode, press it on a keyboard
you attached in Peripherals. If scripts do not stop within 3 seconds, Rebind
restarts itself. Keep it in mind whenever a script blocks input.
Uninstall
On Windows, run Uninstall Rebind from the Start menu. On macOS, runsudo ~/.rebind/uninstall.sh. Your scripts folder stays, and on macOS so
does QEMU if the installer added it through Homebrew.
Start Rebind only when you open it
Rebind starts when you sign in to your computer. To have it start when you open the app instead, choose on demand when you install or update. Windows: setREBIND_START before the install command. In the installer’s
own window, pick Custom and the same choice is the Start Rebind
manually box under Desktop app.
--on-demand.
start-at-login in place of on-demand on Windows, or
--start-at-login in place of --on-demand on macOS.
On Windows, starting on demand needs the desktop app. An install without it
keeps starting at sign-in.