Getting started with Zith is quick and easy. Choose your platform below:
# Using PowerShell (admin privileges may be required)
iwr -useb https://zith-lang.org/install.ps1 | iex
Or download the installer from GitHub Releases.
# Using Homebrew
brew install zith
# Or using the install script
curl -fsSL https://zith-lang.org/install.sh | bash
# Using the install script
curl -fsSL https://zith-lang.org/install.sh | bash
# Or download from releases
wget https://github.com/galaxyhaze/Zith/releases/latest/download/zith-linux-x86_64.tar.gz
tar -xzf zith-linux-x86_64.tar.gz
sudo mv zith /usr/local/bin/
After installation, verify Zith is working:
zith --version
You should see output like: `` Zith 0.1.0 ``
If you prefer to build from source:
git clone https://github.com/galaxyhaze/Zith.git
cd Zith
mkdir build && cd build
cmake ..
cmake --build . --config Release
sudo cmake --install .
Requirements: - CMake 3.20+ - C++20 compatible compiler (GCC 11+, Clang 14+, MSVC 2022+)
Zith uses these optional environment variables:
ZITH_HOME - Override installation directoryZITH_EDITOR - Default editor for zith editZITH_CACHE_DIR - Cache directory locationAdd shell completions for better CLI experience:
# Bash
echo 'source <(zith completion bash)' >> ~/.bashrc
# Zsh
echo 'source <(zith completion zsh)' >> ~/.zshrc
# Fish
zith completion fish > ~/.config/fish/completions/zith.fish
Now that Zith is installed: