Skip to content

Commit d3eb9d0

Browse files
committed
docs: update installation setup
1 parent 2beb13a commit d3eb9d0

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

CONTRIBUTING.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,22 @@ Thank you for your interest in contributing to the Deepnote VS Code extension! T
2020
<details>
2121
<summary><b>📦Or use these commands to install the prerequisites</b></summary>
2222

23-
#### macOS (using Homebrew)
23+
#### macOS (with brew)
2424

2525
```bash
26-
# Install Node.js
27-
brew install node@22
26+
# Install nvm (if not already installed)
27+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
28+
29+
# Install and use Node.js from .nvmrc
30+
nvm use $(cat .nvmrc)
31+
32+
# Update npm
33+
npm install -g $(cat .npmrc)
2834

29-
# Install Python
35+
# Install Python (using Homebrew)
3036
brew install python3
3137

32-
# Install VS Code
38+
# Install VS Code (using Homebrew)
3339
brew install --cask visual-studio-code
3440

3541
# Install VS Code extensions
@@ -39,18 +45,18 @@ code --install-extension EditorConfig.EditorConfig
3945
code --install-extension ms-python.python
4046
```
4147

42-
#### macOS/Linux (using nvm for Node.js)
48+
#### macOS/Linux
4349

4450
```bash
4551
# Install nvm (if not already installed)
4652
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
4753

4854
# Install Node.js
49-
nvm install 22.15.1
50-
nvm use 22.15.1
55+
nvm install $(cat .nvmrc)
56+
nvm use $(cat .nvmrc)
5157

5258
# Update npm
53-
npm install -g [email protected]
59+
npm install -g $(cat .npmrc)
5460

5561
# Install Python (Ubuntu/Debian)
5662
sudo apt update && sudo apt install python3 python3-pip python3-venv

0 commit comments

Comments
 (0)