Skip to content

Commit 9c91531

Browse files
committed
docs
1 parent eb04f30 commit 9c91531

File tree

1 file changed

+64
-63
lines changed

1 file changed

+64
-63
lines changed

docs/getting-started.md

+64-63
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,46 @@ Supported os/arch:
158158
If you need something else, compile it with `cargo install mise` (see below).
159159
[Windows isn't currently supported.](https://github.com/jdx/mise/discussions/66)
160160

161-
### Homebrew
161+
### apk
162162

163-
```sh
164-
brew install mise
163+
For Alpine Linux:
164+
165+
```
166+
apk add mise
165167
```
166168

167-
### MacPorts
169+
_mise lives in the [community repository](https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/mise/APKBUILD)._
168170

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
171201
```
172202

173203
### Cargo
@@ -191,6 +221,28 @@ Build from the latest commit in main:
191221
cargo install mise --git https://github.com/jdx/mise --branch main
192222
```
193223

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+
194246
### npm
195247

196248
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
215267
chmod +x /usr/local/bin/mise
216268
```
217269

218-
### apt
219-
220-
For installation on Ubuntu/Debian:
270+
### MacPorts
221271

222272
```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
274274
```
275275

276276
### nix
@@ -285,13 +285,14 @@ You can also import the package directly using
285285
`mise-flake.packages.${system}.mise`. It supports all default Nix
286286
systems.
287287

288-
### Docker
288+
### yum
289289

290290
```
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
292294
```
293295

294-
295296
## Shells
296297

297298
#### Bash

0 commit comments

Comments
 (0)