- Nefoin
- SHOWCASE
- DEPENDENCIES
- TRY IT WITH DOCKER
- EXAMPLES
- Hack Nerd Font
- FiraCode Nerd Font
- JetBrainsMono Nerd Font
- Agave Nerd Font
- Iosevka Nerd Font
- Meslo Nerd Font
- CascadiaCode Nerd Font
- CommitMono Nerd Font
- VictorMono Nerd Font
- DejaVuSansMono Nerd Font
- UbuntuMono Nerd Font
- SourceCodePro Nerd Font
- Terminus Nerd Font
- RobotoMono Nerd Font
- LiberationMono Nerd Font
- Mononoki Nerd Font
- SpaceMono Nerd Font
- Cousine Nerd Font
- OTHER FONTS
- HOW DOES IT WORK
- WHY SHOULD I USE THIS OVER getnf/getnf
nerd font installer let's you download any Nerd Font from ryanoasis/nerd-fonts/releases
No manual download or cloning required.
Just pass Nerd Font name as an argument in CLI and rest is automatically done.
- Be on Linux or MacOS.
- Have Following packages / utilities:
fontconfig curl unzip
If you are on MacOS, You probably will only lack fontconfig
,
which you can install like this:
brew install fontconfig
Running the script will tell you which dependencies you are missing regardless of your OS.
docker run -it --rm ubuntu:latest bash -uelic '
apt update -y
apt install -y fontconfig curl unzip
nerd_font_name="Hack" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
bash
'
nerd_font_name="Hack" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="FiraCode" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="JetBrainsMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="Agave" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="Iosevka" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="Meslo" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="CascadiaCode" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="CommitMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="VictorMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="DejaVuSansMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="UbuntuMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="SourceCodePro" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="Terminus" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="RobotoMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="LiberationMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="Mononoki" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="SpaceMono" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
nerd_font_name="Cousine" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
You can type in quotes any other Nerd Font from ryanoasis/nerd-fonts/releases that has .zip extension.
For example, if I want to get Hack
Nerd Font, name of it on
ryanoasis/nerd-fonts/releases
is Hack.zip
.
You just pass it's name without .zip, Hack
, like this:
nerd_font_name="Hack" bash <(curl -fsSL https://raw.githubusercontent.com/monoira/nefoin/main/install.sh)
And install.sh will automatically download, unzip and move it's contents to your systems fonts directory.
On MacOS:
$HOME/Library/Fonts
On Linux:
$HOME/.local/share/fonts
If that directory doesn't exist, install.sh will create it.
install.sh also checks via grep
if you already have font with
similar name and prompts you for installation confirmation if you do.
This way chance of you downloading same Nerd Font twice is lower.
There is no residual files left either.
No manual download or cloning required.
It just works.
- Faster -- Less Is More if you just want 1 or 2 fonts.
- Simpler to Use.
- Simpler to Automate.
- Simpler to understand the code,
it's literally one
~100
line file at install.sh.
You can fork it and use it for your own purposes. - getnf is licensed under GPL3 license,
which means that you can't use it's code in closed source,
non-GPL licensed project since GPL-3.0 License,
which requires derivative works to also be open-source under the same license.
This is NOT to hate on Richard Stallman or GPL licenses.
Just listing one of pro's for you.