Update erpnext from v5 to v6

Hi,

it was not easy to find info about updating to v6 from v5 in master. Iguess we have just to run:

bench update --upgrade

Is it so?

OK, i just tried, when trying to update i get this message:

This update will cause a major version change in Frappe/ERPNext from 5 to 6.
This would take significant time to migrate and might break custom apps. Please run bench update --upgrade to confirm.

OK, we receive an exception:
Exception: Please install nodejs and npm

So, before updating to v6 i guess we have to install them. There are also other dependencies to be installed:
libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel