zig: Setup

csmcsm
1 min read

Requirements:

  1. os: linux mint

  2. zig version: 0.13.0

  3. vs code (with zig extension)

Steps:

  1. Download zig package of version 0.13.0 from zig's website.

  2. Unpack it in a place of your choice.

  3. Add zig binary path to PATH environment variable:

    • Add this line to .bashrc file:
#zig 0.13.0
export PATH=$PATH:path-to-zig-binary
  1. Test it:

    • Open terminal and run:
zig version

Output:

0.13.0

  1. Now, open vs code and install zig's official extension from extensions.

  2. Done!

0
Subscribe to my newsletter

Read articles from csm directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

csm
csm