use nvm to update npm. There are any references about use nvm to update npm in here. you can look below.