@@ -25,8 +25,8 @@ depend on how many MCP servers you run and what resources they use.
25
25
You can install ToolHive using several methods:
26
26
27
27
<Tabs groupId = ' installer' queryString = ' installer' >
28
- <TabItem value = ' macos ' label = ' Homebrew (macOS)' default >
29
- If you use Homebrew on macOS, this is the easiest installation method:
28
+ <TabItem value = ' homebrew ' label = ' Homebrew (macOS/Linux )' default >
29
+ Homebrew is the easiest installation method on macOS or Linux :
30
30
31
31
``` bash
32
32
brew tap stacklok/tap
@@ -41,6 +41,9 @@ WinGet is available by default on Windows, making this the easiest installation
41
41
winget install stacklok.thv
42
42
```
43
43
44
+ Open a new terminal window after installation to ensure the ` thv ` command is
45
+ available.
46
+
44
47
</TabItem >
45
48
<TabItem value = ' binary' label = ' Pre-compiled binaries' >
46
49
1 . Visit the [ ToolHive releases page] ( https://github.com/stacklok/toolhive/releases )
@@ -60,16 +63,14 @@ winget install stacklok.thv
60
63
61
64
``` bash
62
65
tar -xzf toolhive_< version> _< platform> .tar.gz
63
- sudo mv thv /usr/local/bin/
64
- sudo chmod +x /usr/local/bin/thv
66
+ sudo install -m 0755 thv /usr/local/bin/
65
67
```
66
68
67
69
On Windows, extract the ZIP file to a folder and add that folder to your PATH
68
70
environment variable.
69
71
70
72
</TabItem >
71
73
<TabItem value = ' source' label = ' Build from source' >
72
-
73
74
#### Prerequisites for building from source
74
75
75
76
- Go 1.24 or newer
@@ -145,8 +146,7 @@ exists.
145
146
To upgrade ToolHive:
146
147
147
148
<Tabs groupId = ' installer' queryString = ' installer' >
148
- <TabItem value = ' macos' label = ' Homebrew (macOS)' default >
149
-
149
+ <TabItem value = ' homebrew' label = ' Homebrew (macOS)' default >
150
150
If you installed ToolHive via Homebrew, upgrade it with:
151
151
152
152
``` bash
@@ -155,7 +155,6 @@ brew upgrade thv
155
155
156
156
</TabItem >
157
157
<TabItem value = ' winget' label = ' WinGet (Windows)' >
158
-
159
158
If you installed ToolHive via WinGet, upgrade it with:
160
159
161
160
``` bash
@@ -164,13 +163,11 @@ winget upgrade stacklok.thv
164
163
165
164
</TabItem >
166
165
<TabItem value = ' binary' label = ' Pre-compiled binaries' >
167
-
168
166
Follow the same steps as the [ initial installation] ( #install-toolhive ) ,
169
167
downloading the latest release and overwriting the previous binary.
170
168
171
169
</TabItem >
172
170
<TabItem value = ' source' label = ' Build from source' >
173
-
174
171
If you built ToolHive from source, upgrade it by pulling the latest changes and
175
172
rebuilding:
176
173
0 commit comments