Giter VIP home page Giter VIP logo

simple-nerdfonts-downloader's Introduction

Nerd Fonts Downloader Script

Introduction

Testing various Linux distributions, I consistently found it cumbersome to download and install them on the system. Consequently, I resolved to develop a script that streamlines the entire process, enabling me to avoid expending excessive time on customizing my shell or system.

Installation

Dependencies

Be aware that this script downloads (with your authorization only) the dependencies below:
Note: If you already have one, it will proceed with the process.

  • wget
  • unzip
  • tar
  • fontconfig
  • jq

Supported Distributions

The script supports the following base distributions:

  • Debian/Ubuntu
  • Fedora
  • Arch Linux
  • OSX

Download and Run

To install Nerd Fonts using the script:

  1. Download the script:

    wget https://raw.githubusercontent.com/mcarvalho1/Nerd-fonts-Downloader-Script/master/nf_downloader.sh
  2. Make the script executable:

    chmod +x nf_downloader.sh
  3. Run the script:

    ./nf_downloader.sh

Usage

Choosing the Base Distribution

When you run the script, it will prompt you to choose your base distribution. Enter the number corresponding to your distribution (Debian/Ubuntu, Fedora, or Arch Linux).

Selecting Fonts and Extensions

The script will then display a list of Nerd Fonts with corresponding numbers. Choose the desired font by entering the number. Next, select the extension (.zip or .tar.xz) by entering the corresponding number.

Examples

Here are some examples of using the script:

  1. To install a Nerd Font, run the script and follow the prompts:

    ./nf_downloader.sh

    Select your base distribution, then choose the font by entering its corresponding number when prompted. Afterward, you will be asked to choose the extension (zip or tar.xz).

    After making your choices, the script will download and install the selected Nerd Font.

  2. For another installation, run the script again:

    ./nf_downloader.sh

    Repeat the steps to select a different font or extension.

Contributing

I hope you enjoy the script and that it's as useful to you as it was to me. If you wish, open a pull request applying new features or even bugs that may occur over time.

License

This script is licensed under the MIT License.

simple-nerdfonts-downloader's People

Contributors

mcarvalho1 avatar ychaker avatar xskayne avatar pydatablog avatar mcdsilva-dev avatar sr-vz avatar

Stargazers

 avatar Emmanuel Oriarewo avatar  avatar Alper Alkan avatar Thiago Zilli Sarmento avatar Jaan Lı 李 PhD avatar Basanagouda Somanakatti avatar 0x55aa avatar Ahmad Mufid avatar  avatar Bruno Fernandes avatar  avatar  avatar Fernando Moreira avatar Allemand Instable avatar  avatar Zubayr Ali avatar Aaron Sanders avatar  avatar Sobhan Yasami avatar Abdul Hafiz Muhammad avatar Edvard Sire avatar Dafi Nurrohman Maulana avatar  avatar 3xploit avatar Vishal Nagda avatar Fernando Moreira avatar

Watchers

 avatar

simple-nerdfonts-downloader's Issues

unable to install the font

Tried running on Ubuntu/WSL2, outputs an error after .zip or tarball option:

Enter your choice: 27
Choose the extension to install:
[1] - .zip
[2] - .tar.xz
Enter the number of the desired extension: 2
./nf_downloader.sh: line 160: jq: command not found
Choose version to install, enter a specific version using the vX.Y.Z format (latest version: )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.