Skip to content

Commit 1a22b60

Browse files
authored
Add deb, rpm and apk install guide (nushell#1816)
1 parent 6b20574 commit 1a22b60

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

book/installation.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,35 @@ For Windows:
2626
- [Chocolatey](https://chocolatey.org/) (`choco install nushell`)
2727
- [Scoop](https://scoop.sh/) (`scoop install nu`)
2828

29+
For Debian & Ubuntu:
30+
31+
```sh
32+
curl -fsSL https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
33+
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
34+
sudo apt update
35+
sudo apt install nushell
36+
```
37+
38+
For RedHat/Fedora & Rocky Linux:
39+
40+
```sh
41+
echo "[gemfury-nushell]
42+
name=Gemfury Nushell Repo
43+
baseurl=https://yum.fury.io/nushell/
44+
enabled=1
45+
gpgcheck=0
46+
gpgkey=https://yum.fury.io/nushell/gpg.key" | sudo tee /etc/yum.repos.d/fury-nushell.repo
47+
sudo dnf install -y nushell
48+
```
49+
50+
For Alpine Linux:
51+
52+
```sh
53+
echo "https://alpine.fury.io/nushell/" | tee -a /etc/apk/repositories
54+
apk update
55+
apk add --allow-untrusted nushell
56+
```
57+
2958
Cross Platform installation:
3059

3160
- [npm](https://www.npmjs.com/) (`npm install -g nushell` Note that nu plugins are not included if you install in this way)

0 commit comments

Comments
 (0)