fgksgf commented on a change in pull request #106:
URL: https://github.com/apache/skywalking-cli/pull/106#discussion_r684574895



##########
File path: README.md
##########
@@ -28,6 +28,23 @@ Then copy the 
`./bin/swctl-latest-(darwin|linux|windows)-amd64` to your `PATH` d
 usually `/usr/bin/` or `/usr/local/bin`, or you can copy it to any directory 
you like,
 and add that directory to `PATH`, we recommend you to rename the 
`swctl-latest-(darwin|linux|windows)-amd64` to `swctl`.
 
+In addition, you can also quickly install through the following methods:
+
+**Install swctl on Linux**
+
+```shell
+sudo ./scripts/install.sh
+```
+
+**Install swctl on Windows**
+
+First you need to start cmd in administrator mode.
+
+```shell
+./scripts/install.bat

Review comment:
       Ditto.

##########
File path: README.md
##########
@@ -28,6 +28,23 @@ Then copy the 
`./bin/swctl-latest-(darwin|linux|windows)-amd64` to your `PATH` d
 usually `/usr/bin/` or `/usr/local/bin`, or you can copy it to any directory 
you like,
 and add that directory to `PATH`, we recommend you to rename the 
`swctl-latest-(darwin|linux|windows)-amd64` to `swctl`.
 
+In addition, you can also quickly install through the following methods:
+
+**Install swctl on Linux**
+
+```shell
+sudo ./scripts/install.sh

Review comment:
       You should assume that users don't clone the project, so the command 
should be like this: `/bin/bash -c "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`

##########
File path: README.md
##########
@@ -28,6 +28,23 @@ Then copy the 
`./bin/swctl-latest-(darwin|linux|windows)-amd64` to your `PATH` d
 usually `/usr/bin/` or `/usr/local/bin`, or you can copy it to any directory 
you like,
 and add that directory to `PATH`, we recommend you to rename the 
`swctl-latest-(darwin|linux|windows)-amd64` to `swctl`.
 
+In addition, you can also quickly install through the following methods:
+
+**Install swctl on Linux**

Review comment:
       The script can also be used for MacOS, but need to add some judgment.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to