Getting Started
Learn how to install and set up l0-git in your workspace.
Installation
Pre-built Binaries
The recommended way to install l0-git is to download the latest release for your platform from the GitHub Releases page.
- Download the archive for your OS and architecture.
- Extract the
lgitbinary. - Move it to a directory in your
PATH(e.g.,/usr/local/binor~/.local/bin).
From Source
If you have Go installed, you can build l0-git from source:
bash
git clone https://github.com/fabriziosalmi/l0-git.git
cd l0-git
make buildThis will produce the lgit binary in the server/ directory.
VS Code Extension
For the best experience, install the l0-git VS Code extension:
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X). - Search for
l0-gitand install it.
Alternatively, you can install the .vsix file from the releases page:
bash
code --install-extension l0-git-<version>.vsixRunning Your First Scan
Once installed, you can run a scan against your project:
bash
lgit check .To see the findings:
bash
lgit listConfiguration
l0-git works out of the box, but you can customize it by creating a .l0git.json file in your project root. See the Configuration guide for details.