Skip to content

Commit 7264d5c

Browse files
committed
#1290 wiki update, onefetch requires cmake to build
1 parent c83a959 commit 7264d5c

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/wiki/Installation.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This wiki page will guide you through getting onefetch working on your system.
55
# Table of Contents
66

77
- [Universal Install](#universal-install)
8+
- [Build from source](#build-from-source)
89
- [Cargo](#cargo)
910
- [Snap](#snap)
10-
- [Build from source](#build-from-source)
1111
- [OS/Distro Packages](#osdistro-packages)
1212
- [Alpine Linux](#alpine-linux)
1313
- [Arch](#arch)
@@ -31,10 +31,26 @@ This wiki page will guide you through getting onefetch working on your system.
3131

3232
If your architecture is supported by the pre-built binaries, you can download them from the [releases page](https://github.com/o2sh/onefetch/releases/latest).
3333

34+
## Build from source
35+
36+
First, install `rustup` to get the `rust` compiler installed on your system (using the recommended `curl https://sh.rustup.rs -sSf | sh -s` installation method) and then
37+
38+
> [!IMPORTANT]
39+
> Ensure [CMake](https://cmake.org/download/) is installed.
40+
41+
```
42+
git clone https://github.com/o2sh/onefetch
43+
cd onefetch
44+
make install
45+
```
46+
3447
## Cargo
3548

3649
First, install `rustup` to get the `rust` compiler installed on your system (using the recommended `curl https://sh.rustup.rs -sSf | sh -s` installation method) and then
3750

51+
> [!IMPORTANT]
52+
> Ensure [CMake](https://cmake.org/download/) is installed.
53+
3854
```
3955
cargo install onefetch
4056
```
@@ -57,16 +73,6 @@ snap install onefetch
5773

5874
The stable version will be installed for you automatically.
5975

60-
## Build from source
61-
62-
First, install `rustup` to get the `rust` compiler installed on your system (using the recommended `curl https://sh.rustup.rs -sSf | sh -s` installation method) and then
63-
64-
```
65-
git clone https://github.com/o2sh/onefetch
66-
cd onefetch
67-
make install
68-
```
69-
7076
# OS/Distro Packages
7177

7278
## Alpine Linux

0 commit comments

Comments
 (0)