@@ -158,16 +158,46 @@ Supported os/arch:
158
158
If you need something else, compile it with ` cargo install mise ` (see below).
159
159
[ Windows isn't currently supported.] ( https://github.com/jdx/mise/discussions/66 )
160
160
161
- ### Homebrew
161
+ ### apk
162
162
163
- ``` sh
164
- brew install mise
163
+ For Alpine Linux:
164
+
165
+ ```
166
+ apk add mise
165
167
```
166
168
167
- ### MacPorts
169
+ _ mise lives in the [ community repository ] ( https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/mise/APKBUILD ) . _
168
170
169
- ``` sh
170
- sudo port install mise
171
+ ### apt
172
+
173
+ For installation on Ubuntu/Debian:
174
+
175
+ ::: code-group
176
+ ``` sh [amd64]
177
+ sudo install -dm 755 /etc/apt/keyrings
178
+ wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null
179
+ echo " deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=amd64] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
180
+ sudo apt update
181
+ sudo apt install -y mise
182
+ ```
183
+
184
+ ``` sh [arm64]
185
+ sudo install -dm 755 /etc/apt/keyrings
186
+ wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null
187
+ echo " deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=arm64] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
188
+ sudo apt update
189
+ sudo apt install -y mise
190
+ ```
191
+ :::
192
+
193
+ ### aur
194
+
195
+ For Arch Linux:
196
+
197
+ ```
198
+ git clone https://aur.archlinux.org/mise.git
199
+ cd mise
200
+ makepkg -si
171
201
```
172
202
173
203
### Cargo
@@ -191,6 +221,28 @@ Build from the latest commit in main:
191
221
cargo install mise --git https://github.com/jdx/mise --branch main
192
222
```
193
223
224
+ ### dnf
225
+
226
+ For Fedora, CentOS, Amazon Linux, RHEL and other dnf-based distributions:
227
+
228
+ ```
229
+ dnf install -y dnf-plugins-core
230
+ dnf config-manager --add-repo https://mise.jdx.dev/rpm/mise.repo
231
+ dnf install -y mise
232
+ ```
233
+
234
+ ### Docker
235
+
236
+ ```
237
+ docker run jdxcode/mise x node@20 -- node -v
238
+ ```
239
+
240
+ ### Homebrew
241
+
242
+ ``` sh
243
+ brew install mise
244
+ ```
245
+
194
246
### npm
195
247
196
248
mise is available on npm as a precompiled binary. This isn't a Node.js package—just distributed
@@ -215,62 +267,10 @@ curl https://github.com/jdx/mise/releases/download/v2024.1.0/mise-v2024.1.0-linu
215
267
chmod +x /usr/local/bin/mise
216
268
```
217
269
218
- ### apt
219
-
220
- For installation on Ubuntu/Debian:
270
+ ### MacPorts
221
271
222
272
``` sh
223
- sudo install -dm 755 /etc/apt/keyrings
224
- wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null
225
- echo " deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=amd64] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
226
- sudo apt update
227
- sudo apt install -y mise
228
- ```
229
-
230
- ::: warning
231
- If you're on arm64 you'll need to run the following:
232
-
233
- ```
234
- echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=arm64] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
235
- ```
236
- :::
237
-
238
- ### dnf
239
-
240
- For Fedora, CentOS, Amazon Linux, RHEL and other dnf-based distributions:
241
-
242
- ```
243
- dnf install -y dnf-plugins-core
244
- dnf config-manager --add-repo https://mise.jdx.dev/rpm/mise.repo
245
- dnf install -y mise
246
- ```
247
-
248
- ### yum
249
-
250
- ```
251
- yum install -y yum-utils
252
- yum-config-manager --add-repo https://mise.jdx.dev/rpm/mise.repo
253
- yum install -y mise
254
- ```
255
-
256
- ### apk
257
-
258
- For Alpine Linux:
259
-
260
- ```
261
- apk add mise
262
- ```
263
-
264
- _ mise lives in the [ community repository] ( https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/mise/APKBUILD ) ._
265
-
266
- ### aur
267
-
268
- For Arch Linux:
269
-
270
- ```
271
- git clone https://aur.archlinux.org/mise.git
272
- cd mise
273
- makepkg -si
273
+ sudo port install mise
274
274
```
275
275
276
276
### nix
@@ -285,13 +285,14 @@ You can also import the package directly using
285
285
` mise-flake.packages.${system}.mise ` . It supports all default Nix
286
286
systems.
287
287
288
- ### Docker
288
+ ### yum
289
289
290
290
```
291
- docker run jdxcode/mise x node@20 -- node -v
291
+ yum install -y yum-utils
292
+ yum-config-manager --add-repo https://mise.jdx.dev/rpm/mise.repo
293
+ yum install -y mise
292
294
```
293
295
294
-
295
296
## Shells
296
297
297
298
#### Bash
0 commit comments