Docs menu Getting started
Docs

Getting started

Install the DeskWink CLI, pair your computer, add the browser extension, connect your AI app and make your first request. It takes a few minutes.

Before you start

  • A Windows 10 or 11 PC, a Mac running macOS 13 or later, or a Linux computer (x64 or arm64). A Linux server with no screen works too; see Linux and servers.
  • Node.js 22 or newer. Check with node --version in a terminal (on Windows: PowerShell from the Start menu; on a Mac: Terminal). If it is missing or older, install the LTS version from nodejs.org.
  • A DeskWink account. You sign in with Google or with an email link when you pair your computer.
  • An AI app that lets you add a custom connector (a remote MCP server). See Connect your AI.

Prefer to let your coding agent do the installation? See Install with your AI agent. You still confirm the pairing yourself.

1. Install the CLI

npm install -g @deskwink/cli

Then check that it works:

deskwink version

If your terminal does not find the command, or reports an error during install, see Troubleshooting. On Windows, PowerShell can block npm’s script wrapper; the fix is a one-word change and does not need any system setting.

2. Pair this computer and start DeskWink

deskwink launch

The first time, deskwink launch:

  1. Checks your Node.js version and that its own files can be written.
  2. Prints a pairing link and a short code, and opens the link in your browser unless you used --no-browser. The code is valid for 5 minutes.
  3. Waits while you sign in in the browser and confirm the code. Pairing must be done by you; there is no way to do it for you.
  4. Creates a key for this computer on this computer. DeskWink keeps only the public half. The private half stays in your operating system’s protected storage (on Linux: the desktop keyring, or a file only your user can read).
  5. Turns everything on, with no questions: your AI can read and change files anywhere on this computer outside protected places; commands and your browser are on (desktop control and reading the clipboard too on Windows); and nothing waits for your approval (approval level 3).
  6. Lets the DeskWink website change these settings, so you can limit them there. Each change made on the website is emailed to you, and deskwink remote-settings off stops it.
  7. Makes DeskWink start when you sign in. deskwink autostart disable turns it off.
  8. Sets up the link for the DeskWink browser extension if Chrome or Edge is installed, so the extension connects by itself once you add it (step 3).
  9. Starts DeskWink in the background, waits until it is connected, and lists what is on and how to limit it.

A computer that was set up with an older version gets the same once, on its first launch of DeskWink 0.6.0 or later: the whole computer, every ability and approval level 3 (it prints what it turned on and how to limit it), plus website settings and starting at sign-in, unless you turned those off with deskwink remote-settings off or deskwink autostart disable. Shared folders you had stay listed, and what you set afterwards is never turned back on. DeskWink keeps running after you close the terminal, and you will not need to pair again.

If you pair the same computer again, after deskwink logout or after you removed it on the DeskWink website, deskwink launch treats it as a new computer and starts fresh: everything is on as above (starting at sign-in stays off if you ran deskwink autostart disable). It keeps a copy of your earlier settings next to them and prints where.

Check the state at any time:

deskwink status

3. Add the browser extension

To let your AI use your browser, install the DeskWink extension in Chrome or Edge from the Chrome Web Store. deskwink launch already set up the link, so it connects by itself. The extension asks you before your AI uses a new site and before sensitive steps such as signing in, deleting or sending, and it stops at payment steps it recognises. See Browser extension.

4. Connect your AI app

Add this address as a custom connector in your AI app:

https://mcp.deskwink.com/mcp

Step-by-step pages: ChatGPT, Claude (and Claude Code), Gemini, Muse, Codex, Cursor, VS Code, and any other app.

5. Make your first request

Open a new conversation and call DeskWink in: in ChatGPT and Gemini, type @ and choose DeskWink; in Claude, click + → Connectors and switch it on. In any other app, just start your message with “Use DeskWink”. If you gave the connector another name, use that name. Then try:

  • “Which computers do I have connected to DeskWink?”
  • “List the files in my Documents folder.”
  • “Read the file notes.md and give me a three-line summary.”

At the default level, a change your AI makes to a file goes through at once and is shown in Activity in the console. Before it is applied, DeskWink saves a copy of the original on your computer, so deskwink restore can put it back.

Limit what your AI can do

Everything is on by default: the whole computer, commands, your browser and (on Windows) desktop control, with nothing waiting for approval. Limit any of it in your DeskWink settings, on the Computers page, or here in a terminal:

  • deskwink access read folders: only folders you share, instead of the whole computer.
  • deskwink approvals level 0: every change and command waits for your approval.
  • deskwink capabilities disable shell (or browser, desktop): switch an ability off.
  • deskwink remote-settings off: the DeskWink website can no longer change this computer’s settings or approve for it.
  • deskwink autostart disable: DeskWink no longer starts when you sign in.

To share a folder once you have limited access to folders (from the website, choose “Shared folders only”), run:

deskwink folders add ~/Documents/notes --write

A shared folder is read-only unless you add --write. Giving your AI more again (the whole computer, an ability, a higher approval level) works here or on the website where website settings are on; where they are off, the website asks instead and you confirm here with deskwink settings confirm. See the CLI reference.

Good to know

The file tools can’t open some files at any setting, even with the whole computer open, for example SSH keys, .env files, private keys and browser profiles. Commands run as you and can reach whatever your account can; turn Commands off or ask for approval to limit that. You can read why in the security model. Your home folder can only be shared with an extra flag (--allow-broad) in an interactive terminal, and whole drives and system folders cannot be shared at all.

Day to day

  • deskwink stop stops DeskWink on this computer immediately.
  • deskwink launch starts it again. Running it when DeskWink is already running only prints the status.
  • deskwink restore <execution-id> puts back a file DeskWink changed, from the local backup.
  • The CLI reference lists every command.

After a restart

DeskWink starts by itself when you sign in, unless you turned that off with deskwink autostart disable. If it is not running, your AI sees the computer as offline. Open a terminal and start it again; you do not need to pair again:

deskwink launch

To have it start each time you sign in again after you turned that off, turn it back on once; deskwink autostart disable turns it off again:

deskwink autostart enable

Linux and servers

DeskWink runs on Linux on x64 and arm64, on a desktop and on a server you reach over SSH. Install and start it the same way (npm install -g @deskwink/cli, then deskwink launch). A few things differ.

Pairing without a browser

If there is no display, you are connected over SSH, or xdg-open is missing, DeskWink does not try to open a browser. It prints the pairing link and the short code on lines of their own. Open the link on any device that has a browser (your phone or laptop), sign in, and confirm the code. deskwink launch keeps waiting for up to 5 minutes.

Where the key is kept

DeskWink picks the first of these that works and remembers the choice:

  1. The desktop keyring. If secret-tool is installed and a desktop session is running, the key goes into the Secret Service (GNOME Keyring, KeePassXC and similar).
  2. A key file. On a server there is usually no keyring. The key then lives in a file in DeskWink’s state folder (~/.local/state/deskwink) that only your user can read. This is the same protection as an SSH private key: anyone who can act as your user, or read your disk, can read it. DeskWink refuses to use the file if it is readable by others or owned by another user, and prints the command that fixes it.
  3. A key file with a passphrase (optional). Set DESKWINK_KEY_PASSPHRASE when you first run deskwink launch, or run deskwink launch --passphrase in a terminal to be asked. The file is then encrypted, and you need the passphrase every time DeskWink starts. If you lose the passphrase, run deskwink logout and pair again.

deskwink doctor says which of these is in use.

If the server is compromised

A key file protects the key from other users and from stray copies, not from someone who has taken over your account on that machine. If that happens, remove the computer in the DeskWink console (Remove computer): the key stops working at once. The passphrase option adds protection for copies of the key file, such as backups.

Keeping it running

deskwink launch starts DeskWink in the background and it keeps running after you close the SSH session. Unless you turned it off with deskwink autostart disable, the launch also adds a systemd --user unit so DeskWink starts when you sign in (deskwink autostart disable removes it). Starting before anyone signs in needs loginctl enable-linger, which is your own choice; DeskWink never runs it or changes other system settings. With a key passphrase, no unit is added, because nobody is there to type it.

If you prefer your own unit, here is an example systemd --user unit you can copy yourself. Pair the computer first with deskwink launch, then run deskwink stop, because the unit runs DeskWink in the foreground. Find the path with command -v deskwink.

# ~/.config/systemd/user/deskwink.service
[Unit]
Description=DeskWink
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/home/you/.npm-global/bin/deskwink run
Restart=on-failure
RestartSec=10

[Install]
WantedBy=default.target
systemctl --user daemon-reload
systemctl --user enable --now deskwink
  • A user unit stops when you log out unless lingering is on for your account. If you want that, run loginctl enable-linger $USER yourself. DeskWink never does.
  • If node comes from a version manager such as nvm, systemd does not see it: add a line like Environment=PATH=/home/you/.nvm/versions/node/v22.0.0/bin:/usr/bin:/bin to the unit.
  • With a passphrase, the unit cannot ask you. Either start DeskWink by hand with deskwink launch after each reboot, or put DESKWINK_KEY_PASSPHRASE=… in a file that only you can read and point the unit at it with EnvironmentFile=. The second option leaves the passphrase on disk next to the key, so it only protects against copies of the key file alone.

Approving commands on a server

At the default approval level, commands run without waiting for you. If you lower the level (deskwink approvals level 0), commands wait for you; on a server, approve them in your SSH session: deskwink approvals list, then deskwink approvals approve <id> after reading the full command. Approving needs an interactive terminal, so it cannot be done from a script or from a command DeskWink started.

Remove DeskWink

  1. Run deskwink logout. It removes this computer from your account, deletes its key and stops DeskWink.
  2. Run npm uninstall -g @deskwink/cli to remove the program.
  3. Remove the DeskWink connector from your AI app, and revoke the connection in the DeskWink console if you no longer use it.
  4. If you want your account deleted, ask from the console or write to [email protected]. See the Privacy Policy for what is kept and for how long.

Something unclear or out of date? Write to [email protected].