summaryrefslogtreecommitdiff
path: root/pages/docs/platform/tutorials/quick-start.md
diff options
context:
space:
mode:
Diffstat (limited to 'pages/docs/platform/tutorials/quick-start.md')
-rw-r--r--pages/docs/platform/tutorials/quick-start.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/pages/docs/platform/tutorials/quick-start.md b/pages/docs/platform/tutorials/quick-start.md
index f963867..561cbfb 100644
--- a/pages/docs/platform/tutorials/quick-start.md
+++ b/pages/docs/platform/tutorials/quick-start.md
@@ -50,16 +50,20 @@ Install core prerequisites on your workstation.
### Install the LEAP command-line utility
-Install the `leap` command from rubygems.org:
+Install the `leap` command system-wide:
- workstation$ gem install leap_cli --install-dir ~/leap
- workstation$ export PATH=$PATH:~/leap/bin
+ workstation$ sudo gem install leap_cli
-Alternately, you can install `leap` system wide:
+Alternately, you can install `leap` locally without root privileges:
- workstation$ sudo gem install leap_cli
+ workstation$ gem install --user-install leap_cli
+ workstation$ PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
+
+If you choose a local install, you probably want to permanently add the --user-install directory to your PATH by adding this to your `~/.profile` file (requires logout):
+
+ [ $(which ruby) ] && PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
-To confirm that you installed `leap` correctly, try running `leap help`.
+To confirm that you installed `leap` correctly, try running `leap --version`.
Create a provider instance
=============================================