code: func installCmd(cf *ChaincodeCmdFactory) *cobra.Command {
  	chaincodeInstallCmd = &cobra.Command{
  		Use:       "install",
  		Short:     fmt.Sprint(installDesc),
  		Long:      fmt.Sprint(installDesc),
  		ValidArgs: []string{"1"},
  		RunE: func(cmd *cobra.Command, args []string) error {
  			var ccpackfile string
  			if len(args) > 0 {
  				ccpackfile = args[0]
  			}
  			return chaincodeInstall(cmd, ccpackfile, cf)
  		},
  	}
  	flagList := []string{
  		"lang",
  		"ctor",
  		"path",
  		"name",
  		"version",
  		"peerAddresses",
  		"tlsRootCertFiles",
  		"connectionProfile",
  	}
  	attachFlags(chaincodeInstallCmd, flagList)
  
  	return chaincodeInstallCmd
  }
docs: // installCmd returns the cobra command for Chaincode Deploy