Troubleshooting
Start with deskwink doctor. Then find your problem below: install errors, pairing, offline computers, folders and approvals.
Start with deskwink doctor
deskwink doctor It checks the things that most often go wrong and tells you what to do about each one:
- your Node.js version (22 or newer is required);
- that DeskWink can reach the internet over a secure connection, and that your computer’s clock is close enough to the real time;
- that DeskWink’s stored key can be read;
- that the folders you shared still exist;
- on a Mac, the permission state for protected locations such as Desktop and Documents;
- that the background process is running.
Add --json for output a coding agent can read. Add --report to create a diagnostic bundle with personal details removed; it is the most useful thing to attach when you write to
[email protected]. You can also look at the latest log lines with deskwink logs --lines 100. The log contains metadata only, never file contents or command text.
Installing
“deskwink” is not recognised, or “command not found”
Open a new terminal window so it picks up the changed PATH. If it still fails, find where npm puts global programs with npm config get prefix and make sure that folder (on Mac, its
bin folder) is on your PATH.
PowerShell says “running scripts is disabled”
Windows PowerShell can block npm’s .ps1 wrapper files. You do not need to change any system setting. Use the .cmd versions instead:
npm.cmd install -g @deskwink/cli deskwink.cmd launch Command Prompt (cmd.exe) does not have this restriction either.
On a Mac: EACCES permission denied
Do not use sudo. Give npm a folder in your home directory for global programs, add it to your PATH, and install again:
npm config set prefix ~/.npm-global Then add ~/.npm-global/bin to the PATH in your shell profile and open a new terminal.
Node.js is missing or too old
Run node --version. If it is lower than 22, install the current LTS version from nodejs.org, or with winget install OpenJS.NodeJS.LTS on Windows or brew install node on a Mac.
Pairing
The pairing link or code does not work
Codes are valid for 5 minutes and work once. Run deskwink launch again to get a new link and code. Make sure you confirm the code that your terminal shows.
The browser did not open
Copy the link from the terminal into a browser yourself. Pairing has to be done by you in a browser where you are signed in to DeskWink.
On a Linux server, or over SSH, DeskWink does not try to open a browser at all. Open the link it prints on your phone or laptop and confirm the code shown below it.
Linux: DeskWink will not use the key file
The message says which file or folder is the problem and prints the command that fixes it, for example chmod 600 ~/.local/state/deskwink/device-key or chmod 700 ~/.local/state/deskwink. DeskWink
only uses a key that other users cannot read and that belongs to the user running it. If the file belongs to another user and you do not recognise it, do not use it: run deskwink logout and pair again.
Linux: the passphrase is wrong, or DeskWink asks for it
If you set a passphrase for the key, DeskWink needs it at every start: type it when deskwink launch asks, or set DESKWINK_KEY_PASSPHRASE. A wrong passphrase never changes the file, so you can
try again. A passphrase cannot be recovered: if it is lost, run deskwink logout and pair this computer again.
Connection and state
Run deskwink status. The state tells you where to look.
My AI says the computer is offline
DeskWink only works while it is running. It starts by itself when you sign in unless you turned that off with deskwink autostart disable (check with deskwink autostart status), and it does not queue requests, so a request made while the computer was offline fails
straight away and is not run later. Run deskwink launch and ask your AI again.
After a restart, DeskWink is not running
DeskWink starts by itself when you sign in only if autostart is on: deskwink launch turns it on, also on a computer set up with an older DeskWink, unless you turned it off with
deskwink autostart disable. Run deskwink launch in a terminal on that computer. To have it start each time you sign in, run deskwink autostart enable once (and deskwink autostart disable to stop that); deskwink autostart status shows whether it is on. On Linux it starts when you sign in;
starting before anyone signs in needs loginctl enable-linger, which DeskWink never runs for you.
The console says a change is waiting for me on the computer
That computer does not let the DeskWink website change its settings: you ran deskwink remote-settings off there, or it runs an older DeskWink that has not turned website settings on. There, anything
that gives your AI more (a new folder, the whole computer, a higher approval level, an ability) is only a request until you confirm it on that computer. In a terminal there, run
deskwink settings to see it and deskwink settings confirm to make the change, or deskwink settings reject to drop it. Requests expire after 10 minutes and are
never sent to a computer that is offline. To let the website make such changes directly from now on, run deskwink remote-settings on there once.
The state stays “connecting”
DeskWink connects out over a secure connection. Networks, proxies and security software that block long-lived secure connections (WebSockets) can stop it. Run deskwink doctor; if it reports
a network, certificate or clock problem, fix that first.
The state is “suspended”
You, or someone with access to your account, used the emergency disconnect in the console. Resume your computers in the console, then run deskwink launch on the computer.
The state is “revoked”
This computer was removed from your account, and DeskWink has already deleted its key here. Run deskwink launch to pair it again. That is a fresh start: everything is on as for a new
computer, and a copy of your earlier settings is kept next to them.
The CLI says its version is too old
npm install -g @deskwink/cli@latest deskwink restart Folders and files
My AI cannot see a folder or file
- A new install can read the whole computer, outside protected places. Run
deskwink access: if it shows shared folders only, it was limited in your settings, or the computer was set up with an older DeskWink. -
With shared folders only, run
deskwink folders list. If the folder is not listed, add it withdeskwink folders add <path>, or add it in that computer’s settings on the Computers page of the console (where the website may not change settings, you then confirm it on the computer). - If Files is switched off in that computer’s settings in the console, switch it on there, or run
deskwink capabilities enable fileson the computer. - Check that you allowed this computer for that AI app on the DeskWink permissions page; you can look at and change it in the console.
-
Some files are blocked even inside a shared folder: SSH and cloud credentials,
.envfiles, private keys, password databases, browser profiles and the inside of.gitfolders. See the security model. - Paths that lead outside a shared folder, for example through a shortcut or symbolic link, are refused.
My AI cannot change files
A folder added without --write is read-only, and nothing can be changed while Changes is set to Not allowed in that computer’s settings. Make the folder writable in the console, or remove it and add it again with --write, and check that the AI app was given the ability to propose changes.
A change is waiting and nothing happens
That computer is at an approval level below 3, so changes to files wait for your approval in the DeskWink console. Approve or reject them there; requests that nobody answers expire. A new install lets changes through without waiting.
My AI says it cannot run commands or use my browser
A new install has commands and the browser on (and desktop control on Windows). If they are off, they were switched off, or the computer was set up with an older DeskWink that keeps its own settings.
Turn them on in that computer’s settings on the Computers page of the console, or on the computer with deskwink capabilities enable shell (or browser, desktop).
For the browser, also install the DeskWink extension; it connects by itself.
A command is waiting
Commands wait only at an approval level below 3. On a computer that lets the DeskWink website change its settings, you can approve or reject it on the Approvals page of the console, which shows exactly what will run. Anywhere else, commands are approved on
the computer: in a terminal there, run deskwink approvals list, then deskwink approvals approve <id>.
I want a change undone
Use the execution id of the change: deskwink restore <execution-id>. Backups are kept for 7 days.
On a Mac, DeskWink asks for permission to a folder
macOS asks before programs read protected locations such as Desktop, Documents and Downloads. Allow it for the terminal or program that runs DeskWink. deskwink doctor shows what is allowed.
Still stuck?
Write to [email protected] and attach the output of deskwink doctor --report. Do not send file contents, passwords or pairing codes. We cannot promise a
reply time during the beta.
Something unclear or out of date? Write to [email protected].