Symlink CLI

Symlinking dendron-cli lets you use the current version of dendron from anywhere inside the CLI

  1. Run npm link
    cd packages/dendron-cli
    npm link
  2. Verify
    # output should match the current version inside `dendron/lerna.json`
    dendron --version


Version doesn't match after linking

Sometimes the linked CLI is not marked as executable. Try marking it to see if it works.

# may be somewhere else for you, first find where `npm link` added the executable file
chmod +x ~/.local/share/nvm/v16.6.1/bin/dendron