“devtunnel: command not found” — how to install it for CodeMote
If CodeMote can't start a session because devtunnel isn't on your PATH, here's how to install Microsoft's dev tunnels CLI on macOS, Windows and Linux and verify it works.
CodeMote relies on Microsoft’s free devtunnel CLI to build the secure link between your phone and your computer. If you see devtunnel: command not found— or CodeMote can’t start a session — the tool just isn’t on your PATHyet. Here’s the fix.
Install devtunnel
macOS
brew install --cask devtunnelWindows
winget install Microsoft.devtunnelLinux
curl -sL https://aka.ms/DevTunnelCliInstall | bashVerify it’s on your PATH
Open a fresh terminal and run:
devtunnel --versionIf you get a version number, you’re set. If it still says “not found,” close and reopen your terminal (and VS Code) so the updated PATH is picked up.
Sign in once
devtunnel needs you to authorize your machine to host a tunnel. Sign in with whichever account you prefer:
devtunnel user login --githubdevtunnel user login --microsoftdevtunnelCLI — don’t enable the VS Code menu option for this.Start your session
Back in VS Code, run CodeMote: Start Mobile Session from the Command Palette and scan the QR code. Still stuck? The full tutorial has every step, or reach outand I’ll help.
Take your dev environment with you.
Drive your AI agents, terminals and Git from your phone — with no cloud copy of your code.