Installation
Install the mylocalon CLI with npm on macOS, Linux or Windows (Node.js 20+), log in, update or uninstall it, and fix common install problems.
The CLI is distributed on npm and needs Node.js 20 or newer.
1. Install Node.js
Check whether you already have it:
node -vIf the command is missing or prints a version below v20, install the LTS
version from nodejs.org (or use nvm, brew install node,
winget install OpenJS.NodeJS.LTS).
2. Install mylocalon
npm install -g mylocalonVerify:
mylocalon --versionTip: don't want a global install? Use
npxinstead — every command works the same:npx mylocalon login,npx mylocalon http 3000.
3. Log in
mylocalon loginYour browser opens. Sign up (or log in), check that the code on the page matches your terminal, and click Approve. You're ready — continue with the quickstart.
Updating
npm install -g mylocalon@latestUninstalling
npm uninstall -g mylocalonYour saved login lives in ~/.mylocalon/ — delete that folder to remove it too.
Problems?
command not found after installing, permission errors, or an old version?
See Troubleshooting.