Updating npm is not always as straightforward as it should be, so let us cover this subject, at least for Windows and Linux.