mcumgr installation in windows

Hi , 

     Can someone share reference to install mcumgr in windows

Parents
  • Hello,

    You can refer to this page for installing mcumgr and  if you are getting error message "get is not supported with go anymore"  try with 

    go install github.com/apache/mynewt-mcumgr-cli/mcumgr@latest.

    Please see that "go" is prerequisite for installing the mcumgr. You can download and install that here

    Kind Regards,

    Abhijith

  • Thannks @Menon,

    Please see that "go" is prerequisite for installing the mcumgr. You can download and install that here

    Yes first i installed go , it is done. next i tired it with 

    go get github.com/apache/mynewt-mcumgr-cli/mcumgr 
    this cmd, as you said i got this error msg.
    C:\mcumgr>go get github.com/apache/mynewt-mcumgr-cli/mcumgr
    go get: installing executables with 'go get' in module mode is deprecated.
            Use 'go install pkg@version' instead.
            For more information, see https://golang.org/doc/go-get-install-deprecation
            or run 'go help get' or 'go help install'.


    then i tried the cmd you sent, it didn't get anything i.e. no error msg no installing nothing,
    it is just a blank line.


  • Hello,

    What version of "go" you are trying with?

    I suggested you to try with command install instead of go get because the page I shared seems bit old and go get is not supporting for newer versions. Take a look into this page from go. I have tried with go version 1.18.2 and worked fine. And your screenshot says go get is not supported for your version too.

    You are getting a blank line after running the command that seems you might have previously installed the file see the folder C:\Users\*****\go\pkg\mod. Please try with commands "mcumgr version" and "mcumgr help"  and see what it says.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    What version of "go" you are trying with?

    I suggested you to try with command install instead of go get because the page I shared seems bit old and go get is not supporting for newer versions. Take a look into this page from go. I have tried with go version 1.18.2 and worked fine. And your screenshot says go get is not supported for your version too.

    You are getting a blank line after running the command that seems you might have previously installed the file see the folder C:\Users\*****\go\pkg\mod. Please try with commands "mcumgr version" and "mcumgr help"  and see what it says.

    Kind Regards,

    Abhijith

Children
No Data
Related