Update Swan
Update Swan by rerunning the installer, then reloading the unpacked extension in your browser.
Release install
macOS or Linux:
bash
curl -fsSL https://swan-oss.com/install.sh | bashWindows PowerShell:
powershell
irm https://swan-oss.com/install.ps1 | iexThen reload Swan:
- Open
chrome://extensions. - Find Swan.
- Click the reload icon.
- Open Swan settings and confirm your settings are still present.
Source checkout
If you installed from a source checkout, pull the latest changes:
bash
git pullIf dependencies changed:
bash
npm installRebuild:
bash
npm run buildThen reload the extension:
- Open
chrome://extensions. - Find Swan.
- Click the reload icon.
- Open Swan settings and confirm your settings are still present.
When to re-run source setup
Use setup again if you want the scripted path:
bash
npm run setupIt will build the extension and print the current extension path again.
Settings persistence
Swan settings live in browser extension local storage. Rebuilding the source does not normally clear settings. Removing the extension from the browser can remove extension-local data for that profile.