Skip to content

exilesprx/zig-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zig and ZLS Installer

This script installs Zig and the Zig Language Server (ZLS). You can choose to install both or just one of them.

Prerequisites

Before running the script, ensure you have the following dependencies installed:

  • Bash
  • jq
  • Wget (for downloading Zig binary)
  • Git (for downloading ZLS)
  • minisign (for verifying Zig download)

Installation

  1. Clone the repository or download the script.
  2. Make the script executable:
chomod +x install.sh
  1. Run the script with the desired options.

Usage

./install.sh [OPTIONS]

Options

  • --zig-only: Install only Zig.

  • --zls-only: Install only ZLS (Zig Language Server).

  • -h, --help: Display the help message and exit.

Examples

Install both Zig and ZLS:

./install.sh

Install only Zig:

./install.sh --zig-only

Install only ZLS (Zig Language Server).
Note: You must have Zig installed in order to compile ZLS.

./install.sh --zls-only

Display the help message:

./install.sh --help

Notes

  • This script assumes you have the necessary permissions to install software on your system.
  • Make sure to run the script from a directory where you have write access.

License

This project is licensed under the MIT License.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages