Skip to content

Commit 50da204

Browse files
committed
improve quickstart
1 parent 2bc3704 commit 50da204

File tree

2 files changed

+41
-23
lines changed

2 files changed

+41
-23
lines changed

.github/workflows/mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- docs
87

98
permissions:
109
contents: write

docs/sources/quickstart.md

Lines changed: 41 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,62 @@ Napse is still in early stage. You can only run it manually for now.
1818

1919
To install nvm, download and install the nvm script from the project's GitHub page:
2020

21-
```shell
22-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
23-
```
2421

25-
After installing nvm, close your terminal and open a new one. Verify the installation by checking the version of nvm:
22+
=== "Linux"
23+
24+
```shell
25+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
26+
nvm --version
27+
```
28+
29+
=== "MacOS"
30+
31+
Please follow this [tutorial](https://dev.to/csituma/install-nvm-on-mac-windows-and-linux-1aj9)
32+
33+
=== "Windows"
34+
35+
Please follow this [tutorial](https://dev.to/csituma/install-nvm-on-mac-windows-and-linux-1aj9)
2636

27-
```shell
28-
nvm --version
29-
```
3037

3138
### Install Node.js
3239

3340
Now, you can install Node.js. The following command installs Node.js latest version :
3441

35-
```shell
36-
nvm install --lts
37-
```
42+
=== "Linux"
43+
44+
```shell
45+
nvm install --lts
46+
```
47+
48+
=== "MacOS"
49+
50+
Please follow this [tutorial](https://radixweb.com/blog/installing-npm-and-nodejs-on-windows-and-mac)
51+
52+
=== "Windows"
53+
54+
Please follow this [tutorial](https://radixweb.com/blog/installing-npm-and-nodejs-on-windows-and-mac)
3855

3956
### Install yarn
4057

4158
Yarn is a Node package manager. Install it by running these commands
4259

43-
```shell
44-
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
45-
```
4660

47-
```shell
48-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
49-
```
61+
=== "Linux"
5062

51-
```shell
52-
sudo apt update
53-
```
63+
```shell
64+
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
65+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
66+
sudo apt update
67+
sudo apt install yarn
68+
```
5469

55-
```shell
56-
sudo apt install yarn
57-
```
70+
=== "MacOS"
71+
72+
Please follow this [tutorial](https://www.hostinger.com/tutorials/how-to-install-yarn)
73+
74+
=== "Windows"
75+
76+
Please follow this [tutorial](https://www.hostinger.com/tutorials/how-to-install-yarn)
5877

5978
---
6079
## Run the desktop application

0 commit comments

Comments
 (0)