edit -v edit version 1.2.1
How can I upgrade to version 2.0
Download the latest release from github which is v2.0.0 at the time of this comment. Or you can build it from source.