Skip to content

Commit 47c9ba7

Browse files
Dargon789sourcery-ai[bot]gemini-code-assist[bot]
authored
Update README.md (#94)
* Update README.md Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> --------- Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 897b908 commit 47c9ba7

1 file changed

Lines changed: 42 additions & 38 deletions

File tree

README.md

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
## Installation
2424

25-
### Using a script (macOS/Linux)
25+
### Using a script (Linux/macOS):
2626

2727
For `bash`, `zsh` and `fish` shells, there's an [automatic installation script](./.ci/install.sh).
2828

@@ -31,6 +31,47 @@ First ensure that `curl` and `unzip` are already installed on your operating sys
3131
```sh
3232
curl -fsSL https://fnm.vercel.app/install | bash
3333
```
34+
Then, [set up your shell for fnm](#shell-setup)
35+
36+
### Using a script Windows (Git Bash):
37+
38+
```sh
39+
curl -fsSL https://fnm.vercel.app/install | bash
40+
```
41+
### Using Winget (Windows):
42+
43+
```sh
44+
winget install --id Schniz.fnm -e
45+
```
46+
### Using Scoop/Choco (Windows):
47+
48+
```sh
49+
scoop install fnm
50+
choco install fnm
51+
```
52+
53+
Then, [set up your shell for fnm](#shell-setup)
54+
55+
#### Using Cargo (Linux/macOS/Windows)
56+
57+
```sh
58+
cargo install fnm
59+
```
60+
61+
### Example: Installing and using a Node version:
62+
63+
```sh
64+
fnm install 24
65+
fnm use 24
66+
node -v
67+
v24.11.1
68+
```
69+
70+
### Example: Setting a default version:
71+
72+
```sh
73+
fnm default 22
74+
```
3475

3576
#### Upgrade
3677

@@ -64,43 +105,6 @@ Example:
64105
curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir "./.fnm" --skip-shell
65106
```
66107

67-
### Manually
68-
69-
#### Using Homebrew (macOS/Linux)
70-
71-
```sh
72-
brew install fnm
73-
```
74-
75-
Then, [set up your shell for fnm](#shell-setup)
76-
77-
#### Using Winget (Windows)
78-
79-
```sh
80-
winget install Schniz.fnm
81-
```
82-
83-
#### Using Scoop (Windows)
84-
85-
```sh
86-
scoop install fnm
87-
```
88-
89-
Then, [set up your shell for fnm](#shell-setup)
90-
91-
#### Using Chocolatey (Windows)
92-
93-
```sh
94-
choco install fnm
95-
```
96-
97-
Then, [set up your shell for fnm](#shell-setup)
98-
99-
#### Using Cargo (Linux/macOS/Windows)
100-
101-
```sh
102-
cargo install fnm
103-
```
104108

105109
Then, [set up your shell for fnm](#shell-setup)
106110

0 commit comments

Comments
 (0)