mirror of
https://github.com/charmbracelet/glow
synced 2024-10-02 22:23:33 +00:00
docs: update apt/yum installation instructions
This commit is contained in:
parent
3607b402a6
commit
1237ee6bf0
|
@ -61,7 +61,8 @@ choco install glow
|
|||
pkg install glow
|
||||
|
||||
# Debian/Ubuntu
|
||||
echo 'deb [trusted=yes] https://repo.charm.sh/apt/ /' | sudo tee /etc/apt/sources.list.d/charm.list
|
||||
echo "deb https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
|
||||
curl https://repo.charm.sh/apt/gpg.key | sudo apt-key add -
|
||||
sudo apt update && sudo apt install glow
|
||||
|
||||
# Fedora
|
||||
|
@ -69,7 +70,8 @@ echo '[charm]
|
|||
name=Charm
|
||||
baseurl=https://repo.charm.sh/yum/
|
||||
enabled=1
|
||||
gpgcheck=0' | sudo tee /etc/yum.repos.d/charm.repo
|
||||
gpgcheck=1
|
||||
gpgkey=https://repo.charm.sh/yum/gpg.key' | sudo tee /etc/yum.repos.d/charm.repo
|
||||
sudo yum install glow
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue