Browse Source

improvement: add some update info for nvm via git and wetty via yarn.

pull/329/head
userdocs 4 years ago
committed by Cian Butler
parent
commit
5c13d7b42d
  1. 21
      docs/atoz.md

21
docs/atoz.md

@ -543,3 +543,24 @@ If you chose to not use a password to login in you should protect your instance
--allow-iframe Allow wetty to be embedded in an iframe, defaults to allowing
same origin [boolean] [default: false]
```
## Updating Wetty
With `yarn`:
~~~bash
yarn global upgrade wetty --prefix ~/
~~~
## Updating nvm
The proper way to update NVM is to use git. The `.nvm` directory is a git repo.
These commands will update NVM to the latest version of the script and load it to your shell.
~~~bash
cd ~/.nvm
git fetch --tags
git checkout $(git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1))
source ~/.nvm/nvm.sh
~~~
Loading…
Cancel
Save