In a previous blogpost you can learn about the semver command in Nushell to transform a string value into a semver type.
With the semver bump command you can increase one of the components of the semver type.
For example to increase the major version part you can use semver bump major.
This command will also update the minor and patch parts if needed.
The result is a semver type and you can use into value to transform it to a string type.