Install
The short version
Open a terminal.
Install into the profile used by the desktop app:
bashdsh plugin --profile desktop add dsh-quicknoteRestart DSH.
You should then see Quick Note in the sidebar and Note in the composer toolbar.
desktop is the profile used by the desktop app. If you use another profile, replace it with that profile's name.
What <profile> means
A DSH profile is an isolated set of plugins and settings, stored under ~/.dsh/profiles/<name>. The desktop app uses the profile named desktop; the CLI and other apps may use web, tui, or a profile you created.
To see the profiles on your machine:
ls ~/.dsh/profilesUse the same profile where you want the plugin to appear. The --profile flag is required by dsh plugin; it is not a placeholder you should type literally.
What link:$PWD means
link:$PWD is only for local development:
$PWDis the shell's current directory;link:tells DSH to link that directory instead of downloading a package from npm.
So this command must be run inside the plugin source directory:
cd /path/to/dsh-quicknote
dsh plugin --profile desktop add link:$PWDIf you are installing the published plugin, do not use link:. Use the package name:
dsh plugin --profile desktop add dsh-quicknoteOn Windows PowerShell, use link:. or the full path instead of $PWD.
Install from source
Only needed if you are changing the plugin:
pnpm install
pnpm verify
dsh plugin --profile desktop add link:$PWDpnpm install installs the plugin's build dependencies. pnpm verify runs formatting, lint, type checking, tests, the build and a pack check. A normal user installing from npm does not need either command.
Verify
Open DSH and check:
- the sidebar has Quick Note;
- the composer toolbar has Note;
- saving a note and reopening DSH keeps it.
Advanced check:
dsh --profile desktop --dump-config | grep -A2 "id: dsh-quicknote"