You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/04/13 06:40:38 UTC
[mynewt-mcumgr] branch master updated: Update install instructions for go >=1.18
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git
The following commit(s) were added to refs/heads/master by this push:
new 58e444d Update install instructions for go >=1.18
58e444d is described below
commit 58e444d788c120e3cf1d7ce0a0eeef08c0f07844
Author: Alexander Leris <al...@gmail.com>
AuthorDate: Thu Apr 13 02:09:41 2023 +0000
Update install instructions for go >=1.18
Installation procedure changed post the go 1.18 release. This change brings the installation instructions in line with what is given in the [Zephyr MCUmgr instructions](https://github.com/zephyrproject-rtos/zephyr/blob/v3.2.0/doc/services/device_mgmt/mcumgr.rst)
---
README.md | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 830fdc6..94059c0 100644
--- a/README.md
+++ b/README.md
@@ -31,12 +31,17 @@ not require MCUboot.
The `mcumgr` command line tool is available at:
https://github.com/apache/mynewt-mcumgr-cli. The command line tool requires [Go
1.12 or later](https://golang.org/dl/). Once Go is installed and set up on your
-system, you can install the mcumgr CLI tool by issuing the following `go get`
-command:
+system, you can install the mcumgr CLI tool by issuing the following `go get` or
+`go install` command, depending on your Go version:
+Go version < 1.18
```
$ go get github.com/apache/mynewt-mcumgr-cli/mcumgr
```
+Go version >= 1.18
+```
+$ go install github.com/apache/mynewt-mcumgr-cli/mcumgr@latest
+```
The `mcumgr` tool allows you to manage devices running an mcumgr server.