-
-
Save nikhita/95f1314f14cf613e78106eb9b89059e1 to your computer and use it in GitHub Desktop.
mkdir -p ~/.local/share/fonts | |
for type in Bold Light Medium Regular Retina; do wget -O ~/.local/share/fonts/FiraCode-$type.ttf "https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-$type.ttf?raw=true"; done | |
fc-cache -f |
it works! thanks man
nice! thank you!
Very simple! thank you.
nice! thank you!
Thank you!
Thank you
Thanks
Thank you!!!
thanks
Thank you ! Love this FiraCode Retina font
thanks simple and save my day
Thank You
THanks
Thanks!!!
Thanks for the script! Helps a lot!
Thanks so much! My eyes are so much happier 😭
Thanks!
Great!
Thanks!
thanks man !
Thanks. Works perfectly in mint
Tank you! works fine.
爱你
sudo apt install fonts-firacode
should do the work on Ubuntu
Seems like this doesn't work anymore, getting 404s on the specified url
Font files have been deleted from the official repository.
sudo apt install fonts-firacode this works on linux mint
Better use official way:
https://src.fedoraproject.org/rpms/fira-code-fonts
#!/usr/bin/env bash
fonts_dir="${HOME}/.local/share/fonts"
if [ ! -d "${fonts_dir}" ]; then
echo "mkdir -p $fonts_dir"
mkdir -p "${fonts_dir}"
else
echo "Found fonts dir $fonts_dir"
fi
version=5.2
zip=Fira_Code_v${version}.zip
curl --fail --location --show-error https://github.com/tonsky/FiraCode/releases/download/${version}/${zip} --output ${zip}
unzip -o -q -d ${fonts_dir} ${zip}
rm ${zip}
echo "fc-cache -f"
fc-cache -f
thank you!