**Kind**: instance method of [<code>Wechaty</code>](#Wechaty)
**Returns**: <code>string</code> - - the version number
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [forceNpm] | <code>boolean</code> | <code>false</code> | If set to true, will only return the version in package.json. </br> Otherwise will return git commit hash if .git exists. |