You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vk...@apache.org on 2020/12/31 21:27:25 UTC

[ignite-3] branch main updated: IGNITE-13740 - Added Linux/Windows tabs to the installation part of the tutorial

This is an automated email from the ASF dual-hosted git repository.

vkulichenko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new c56be97  IGNITE-13740 - Added Linux/Windows tabs to the installation part of the tutorial
c56be97 is described below

commit c56be97cf56ba81d254ed1d2c35800ac45c0c86a
Author: Valentin Kulichenko <va...@gmail.com>
AuthorDate: Thu Dec 31 13:24:14 2020 -0800

    IGNITE-13740 - Added Linux/Windows tabs to the installation part of the tutorial
---
 docs/_docs/quick-start/getting-started-guide.adoc | 42 +++++++++++++++++++++--
 1 file changed, 39 insertions(+), 3 deletions(-)

diff --git a/docs/_docs/quick-start/getting-started-guide.adoc b/docs/_docs/quick-start/getting-started-guide.adoc
index 815a14d..e945d8e 100644
--- a/docs/_docs/quick-start/getting-started-guide.adoc
+++ b/docs/_docs/quick-start/getting-started-guide.adoc
@@ -36,24 +36,60 @@ To download and install the Ignite CLI Tool, follow the steps below:
 
 . Create a folder. For example, use a Linux command similar to the following:
 +
-[source, shell]
+[tabs]
+--
+tab:Linux[]
+[source,shell]
 ----
 mkdir ignite3 && cd ignite3
 ----
+tab:Windows (PowerShell)[]
+[source,shell]
+----
+(mkdir ignite3) -AND (cd ignite3)
+----
+tab:Windows (CMD)[]
+[source,shell]
+----
+mkdir ignite3 & cd ignite3
+----
+--
 
 . Download the Ignite CLI tool and set required execute permissions:
 +
-[source, shell]
+[tabs]
+--
+tab:Linux[]
+[source,shell]
 ----
 curl https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha1-rc1/ignite -o ignite && chmod +x ignite
 ----
+tab:Windows[]
+[source,shell]
+----
+curl https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha1-rc1/ignite.exe -o ignite.exe
+----
+--
 
 . Add your installation directory to the PATH environment variable:
 +
-[source, shell]
+[tabs]
+--
+tab:Linux[]
+[source,shell]
 ----
 echo 'export PATH="'`pwd`':$PATH"' >> ~/.bash_profile && source ~/.bash_profile
 ----
+tab:Windows (PowerShell Only)[]
+[source,shell]
+----
+$ENV:PATH += ";."
+----
+--
+
+NOTE: On Windows, this change is not permanent and will only affect the current terminal session. If you want the
+`ignite` command to be available after terminal or system restart, use the `System Properties` dialog to
+permanently update the `PATH` variable with the directory you've downloaded Ignite to.
 
 == Using Ignite CLI Tool