You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/08/07 03:08:18 UTC

[GitHub] [skywalking-cli] fgksgf commented on a change in pull request #106: Quick install

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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org