Skip to content

Commit 4ac135c

Browse files
committed
use npm install as primary setup method in docs and readme
1 parent 450c921 commit 4ac135c

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,20 @@ This project is open source under the MIT license. You're welcome to fork it, ad
1717

1818
## Setup
1919

20+
```bash
21+
npm install -g abacus-cli
22+
```
23+
24+
Chromium is downloaded automatically on install for browser automation.
25+
26+
### From source
27+
2028
```bash
2129
git clone https://github.com/wassertim/abacus-cli.git
2230
cd abacus-cli
2331
npm install
2432
npm run build
25-
npm link # makes `abacus` available globally
33+
npm link
2634
```
2735

2836
### Configuration

site/src/pages/de/getting-started.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ const t = getTranslations(locale);
2424

2525
<h2 id="installation">{t.gettingStarted.installation}</h2>
2626
<CodeBlock title="Terminal">
27-
<pre><code>git clone https://github.com/wassertim/abacus-cli.git
28-
cd abacus-cli
29-
npm install
30-
npm run build
31-
npm link # macht `abacus` global verfügbar</code></pre>
27+
<pre><code>npm install -g abacus-cli</code></pre>
3228
</CodeBlock>
29+
<p>Chromium wird bei der Installation automatisch heruntergeladen.</p>
3330

3431
<h2 id="configuration">{t.gettingStarted.configuration}</h2>
3532
<p>Setzen Sie die URL Ihrer Abacus-Instanz als Umgebungsvariable:</p>

site/src/pages/en/getting-started.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ const t = getTranslations(locale);
2424

2525
<h2 id="installation">{t.gettingStarted.installation}</h2>
2626
<CodeBlock title="Terminal">
27-
<pre><code>git clone https://github.com/wassertim/abacus-cli.git
28-
cd abacus-cli
29-
npm install
30-
npm run build
31-
npm link # makes `abacus` available globally</code></pre>
27+
<pre><code>npm install -g abacus-cli</code></pre>
3228
</CodeBlock>
29+
<p>Chromium is downloaded automatically on install for browser automation.</p>
3330

3431
<h2 id="configuration">{t.gettingStarted.configuration}</h2>
3532
<p>Set your Abacus instance URL via environment variable:</p>

0 commit comments

Comments
 (0)