Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 513f380

Browse files
authored
[cli] Modify the current CLI installation description and add an AUR installation script. (#915)
* add aur install script
1 parent 55a3f98 commit 513f380

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

apps/nextra/pages/en/build/cli.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For more advanced users, the CLI can also be used to run a private Aptos network
3030
<div className="flex flex-col gap-2">
3131
<Card.Title>Windows</Card.Title>
3232
<Card.Description>
33-
Install Aptos CLI on Windows via python script or pre-compiled binary
33+
Install Aptos CLI on Windows via powershell script or pre-compiled binary
3434
</Card.Description>
3535
</div>
3636
</Card>
@@ -39,7 +39,7 @@ For more advanced users, the CLI can also be used to run a private Aptos network
3939
<div className="flex flex-col gap-2">
4040
<Card.Title>Linux</Card.Title>
4141
<Card.Description>
42-
Install Aptos CLI on Linux via python script or pre-compiled binary
42+
Install Aptos CLI on Linux via shell script or pre-compiled binary
4343
</Card.Description>
4444
</div>
4545
</Card>

apps/nextra/pages/en/build/cli/install-cli/install-cli-linux.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ For Linux, the easiest way to install the Aptos CLI tool is via shell script, al
4040
If you would like to update the Aptos CLI to the latest version, you can run `aptos update`.
4141
</Callout>
4242

43+
# Install via Package Manager (Optional)
44+
45+
<Callout type="info">
46+
When installing Aptos via a package manager, please update it through the same package manager in the future.
47+
</Callout>
48+
49+
### Arch Linux
50+
#### Install via AUR (Arch User Repository)
51+
```bash filename="Terminal"
52+
git clone https://aur.archlinux.org/aptos-bin.git
53+
cd aptos-bin
54+
makepkg -si
55+
```
56+
or use an AUR helper like `yay`:
57+
```bash filename="Terminal"
58+
yay -S aptos-bin
59+
```
4360
# Install via Pre-Compiled Binaries (Backup Method)
4461

4562
<Steps>

0 commit comments

Comments
 (0)