Skip to content

Commit 4e19f72

Browse files
committed
Do not suggest to install nodejs from package manager
1 parent 4f843c0 commit 4e19f72

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

src/content/docs/compile-from-source.mdx

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,30 @@ If you want to test the latest development version of Kando, or want to contribu
5555

5656
</TabItem>
5757
<TabItem label="Debian" icon="linux">
58-
On Linux, `gcc` and `git` are usually already installed.
59-
However, some additional packages may be required for the native backend modules.
60-
You can install them with:
58+
First, you will need NodeJS. There are multiple ways to install this on Linux.
59+
The easiest way is maybe to use [`nvm`](https://github.com/nvm-sh/nvm?tab=readme-ov-file).
60+
61+
Once the commands `node` and `npm` are working, you can proceed to install some additional packages required to compile Kando:
6162
```bash
62-
sudo apt install nodejs cmake libx11-dev libxtst-dev libwayland-dev libxkbcommon-dev
63+
sudo apt install git g++ cmake libx11-dev libxtst-dev libwayland-dev libxkbcommon-dev
6364
```
6465
</TabItem>
6566
<TabItem label="Arch" icon="linux">
66-
On Linux, `gcc` and `git` are usually already installed.
67-
However, some additional packages may be required for the native backend modules.
68-
You can install them with:
67+
First, you will need NodeJS. There are multiple ways to install this on Linux.
68+
The easiest way is maybe to use [`nvm`](https://github.com/nvm-sh/nvm?tab=readme-ov-file).
69+
70+
Once the commands `node` and `npm` are working, you can proceed to install some additional packages required to compile Kando:
6971
```bash
70-
sudo pacman -S nodejs npm cmake libx11 libxtst wayland libxkbcommon
72+
sudo pacman -S git gcc npm cmake libx11 libxtst wayland libxkbcommon
7173
```
7274
</TabItem>
7375
<TabItem label="Fedora" icon="linux">
74-
On Linux, `gcc` and `git` are usually already installed.
75-
However, some additional packages may be required for the native backend modules.
76-
You can install them with:
76+
First, you will need NodeJS. There are multiple ways to install this on Linux.
77+
The easiest way is maybe to use [`nvm`](https://github.com/nvm-sh/nvm?tab=readme-ov-file).
78+
79+
Once the commands `node` and `npm` are working, you can proceed to install some additional packages required to compile Kando:
7780
```bash
78-
sudo dnf install nodejs cmake libX11-devel libXtst-devel wayland-devel libxkbcommon-devel
81+
sudo dnf install git gcc-c++ cmake libX11-devel libXtst-devel wayland-devel libxkbcommon-devel
7982
```
8083
</TabItem>
8184
</Tabs>

0 commit comments

Comments
 (0)