Skip to content

Commit acac97c

Browse files
authored
Update README.md (#2)
1 parent c1ec637 commit acac97c

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

+37
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,43 @@ Package and release the official Nushell binaries in `deb`, `rpm`, and `apk` etc
44

55
**Notes**: Once stabilized, this repository may be transferred to the Nushell organization.
66

7+
## Install Nushell for Ubuntu/Debian
8+
9+
```nu
10+
curl -fsSL https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
11+
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
12+
sudo apt update
13+
sudo apt install nushell
14+
which nu
15+
nu -c 'version'
16+
```
17+
18+
## Install Nushell for RedHat/Fedora/CentOS/Rocky Linux
19+
20+
```nu
21+
echo "[gemfury-nushell]
22+
name=Gemfury Nushell Repo
23+
baseurl=https://yum.fury.io/nushell/
24+
enabled=1
25+
gpgcheck=0
26+
gpgkey=https://yum.fury.io/nushell/gpg.key" | tee /etc/yum.repos.d/fury-nushell.repo
27+
dnf install -y nushell
28+
which nu
29+
nu -c 'version'
30+
```
31+
32+
## Install Nushell for Alpine Linux
33+
34+
```nu
35+
echo "https://alpine.fury.io/nushell/" | tee -a /etc/apk/repositories
36+
apk update || true
37+
apk add --allow-untrusted nushell
38+
which nu
39+
nu -c 'version'
40+
```
41+
42+
Read the [`test` workflow](https://github.com/hustcer/distro/blob/main/.github/workflows/test.yml)
43+
744
## License
845

946
Licensed under:

0 commit comments

Comments
 (0)