github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/docs/source/commands/peerversion.md (about)

     1  <!---
     2   File generated by help_docs.sh. DO NOT EDIT.
     3   Please make changes to preamble and postscript wrappers as appropriate.
     4   --->
     5  
     6  # peer version
     7  
     8  The `peer version` command displays the version information of the peer. It
     9  displays version, Commit SHA, Go version, OS/architecture, and chaincode
    10  information. For example:
    11  
    12  ```
    13   peer:
    14     Version: 2.1.0
    15     Commit SHA: b78d79b
    16     Go version: go1.14.1
    17     OS/Arch: linux/amd64
    18     Chaincode:
    19      Base Docker Label: org.hyperledger.fabric
    20      Docker Namespace: hyperledger
    21  ```
    22  
    23  ## Syntax
    24  
    25  The `peer version` command takes no arguments.
    26  
    27  ## peer version
    28  ```
    29  Print current version of the fabric peer server.
    30  
    31  Usage:
    32    peer version [flags]
    33  
    34  Flags:
    35    -h, --help   help for version
    36  ```
    37  
    38  
    39  <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.