Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: getting started commands with jbang #1307

Merged
merged 1 commit into from
Mar 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions _includes/get-started-code-steps.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,29 @@ <h2 class="step">Step <span class="step-no">1</span></h2>
</div>
<div class="width-10-12 width-12-12-m">
<h3>Install via Command Line Interface</h3>
<p>Open your favorite CLI and paste this script to install the Quarkus CLI.</p>
<p>Open your favorite terminal and use JBang to install the Quarkus CLI. You do not need to have Java installed first.</p>
<h4>For Linux, macOS, and Windows (using WSL or bash compatible shell like Cygwin or MinGW)</h4>
<div class= "highlighter-rouge">
<div class="highlight">
<pre class="highlight"><code>curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force quarkus@quarkusio</code></pre>
<pre class="highlight"><code>curl -Ls https://sh.jbang.dev | bash -s - trust add https://repo1.maven.org/maven2/io/quarkus/quarkus-cli/
curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force quarkus@quarkusio</code></pre>
</div>
</div>
<h4>For Windows using Powershell</h4>
<div class= "highlighter-rouge">
<div class="highlight">
<pre class="highlight"><code>iex "& { $(iwr https://ps.jbang.dev) } app install --fresh --force quarkus@quarkusio"</code></pre>
<pre class="highlight"><code>iex "& { $(iwr https://ps.jbang.dev) } trust add https://repo1.maven.org/maven2/io/quarkus/quarkus-cli/"
iex "& { $(iwr https://ps.jbang.dev) } app install --fresh --force quarkus@quarkusio"</code></pre>
</div>
</div>
<p>If it's your first time to install, you'll need to restart your shell.</p>
<h4>Or install via SDKMAN!</h4>
<p>If it's your first time to install, you'll need ot restart your shell.</p>
<h4>Or, you can also install the CLI with SDKMAN!</h4>
<div class= "highlighter-rouge">
<div class="highlight">
<pre class="highlight"><code>sdk install quarkus</code></pre>
</div>
</div>
<h4>For more options, such as Homebrew or Chocolatey, see <a href="/guides/cli-tooling">the Quarkus CLI guide</a>.</h4>
</div>
<div class="width-2-12 width-12-12-m">
<h2 class="step">Step <span class="step-no">2</span></h2>
Expand Down