Skip to content

Commit 2d3cf72

Browse files
committed
feat: update DEVELOPMENT.md steps
1 parent 47b4049 commit 2d3cf72

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

DEVELOPMENT.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ On Mac OS, ensure you've installed XCode and `cmake`. On Linux, if you're on Deb
6464
<summary>Linux Tauri dependencies</summary>
6565

6666
```bash
67-
sudo apt update
68-
sudo apt install libwebkit2gtk-4.1-dev \
67+
$ sudo apt update
68+
$ sudo apt install libwebkit2gtk-4.1-dev \
6969
build-essential \
7070
curl \
7171
wget \
@@ -84,8 +84,8 @@ sudo apt install libwebkit2gtk-4.1-dev \
8484
For both Mac OS and Linux, you can use the following `rustup` quick install script to get all the necessary tools.
8585

8686
```bash
87-
cd gitbutler-repo
88-
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
87+
$ cd gitbutler-repo
88+
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
8989
```
9090

9191
3. Node
@@ -95,18 +95,17 @@ Next, ensure you've got at least Node 20 installed. If you're on Mac OS or Linux
9595
Alternatively, you can use the following Node installer from Vercel to get the latest version.
9696

9797
```bash
98-
curl https://install-node.vercel.app/latest > install_node.sh
99-
sudo ./install_node.sh
98+
$ curl https://install-node.vercel.app/latest > install_node.sh
99+
$ sudo ./install_node.sh
100100
```
101101

102102
4. pnpm
103103

104104
Finally, we use `pnpm` as our javascript package manager. You can leverage `corepack`, which comes shipped with `node`, to install and use the `pnpm` version we defined in our `package.json`.
105105

106106
```bash
107-
cd gitbutler-repo
108-
corepack enable
109-
pnpm install # This should now ask you to confirm download, install, and use of pnpm
107+
$ cd gitbutler-repo
108+
$ corepack enable
110109
```
111110

112111
### Install dependencies
@@ -117,7 +116,7 @@ I hope you have some disk space for 300M of `node_modules`, because this bad
117116
boy will fill er up:
118117

119118
```bash
120-
$ pnpm install
119+
$ pnpm install # This should now ask you to confirm download, install, and use of pnpm
121120
```
122121

123122
You'll have to re-run this occasionally when our deps change.

0 commit comments

Comments
 (0)