A CLI tool for adding license files to projects
  • OCaml 66%
  • Makefile 19.9%
  • Dune 14.1%
Find a file
2026-08-30 17:00:34 +02:00
.github ci: add homebrew tap bump workflow 2026-08-30 17:00:34 +02:00
licenses feat: add BSD 2 license 2026-05-01 19:22:18 +02:00
src chore: bump version to 0.2.2 2026-08-30 15:49:12 +02:00
test feat: initial commit 2026-02-04 01:28:20 +01:00
.gitignore feat: embed licenses at compile time with ppx_blob 2026-02-09 20:10:06 +01:00
.ocamlformat feat: add formatter 2026-08-26 09:09:20 +02:00
dune-project feat: embed licenses at compile time with ppx_blob 2026-02-09 20:10:06 +01:00
LICENSE feat: add attribution to licenses 2026-02-08 02:51:07 +01:00
licenzio.opam feat: embed licenses at compile time with ppx_blob 2026-02-09 20:10:06 +01:00
Makefile feat: add formatter 2026-08-26 09:09:20 +02:00
README.md docs: add homebrew installation option to README and small note on platforms 2026-08-30 15:46:35 +02:00

Licenzio

Licenzio is a very simple, time-saving CLI tool that makes it easier to add a LICENSE file to your project.

If you're like me, tired of having to search for a license online, copying it, creating the file and pasting it into your new project every time, this simplifies it by putting it just a command away.

Usage

Add a license to your project:

licenzio mit                               # Adds MIT license
licenzio apache                            # Adds Apache 2.0 license
licenzio lgpl -o ~/Desktop/my_old_project/ # Adds LGPL v3 license to the specified directory

See all available licenses and options:

licenzio -h

Installation

Note

Licenzio is available for Linux (x86_64 only) and macOS (Apple Silicon, arm64 only). When installing via brew, the formula will auto-detect the platform.

Via Homebrew

brew install khalidbelk/taps/licenzio

Pre-built binaries (Github Releases)

To install Licenzio, download the latest release binaries:

Linux:

curl -L -o licenzio https://github.com/khalidbelk/licenzio/releases/latest/download/licenzio-linux
chmod +x licenzio
sudo mv licenzio /usr/local/bin/

or macOS (ARM/M series)

curl -L -o licenzio https://github.com/khalidbelk/licenzio/releases/latest/download/licenzio-macos
chmod +x licenzio
sudo mv licenzio /usr/local/bin/

Then verify the installation with:

licenzio --version

Build from source

Alternatively, if you want to build the project, follow these steps:

Requires: OCaml 5.2, opam, and make

  1. Clone this repository and open it.
git clone git@github.com:khalidbelk/licenzio.git
cd licenzio
  1. Compile with the Make tool (needs to be already installed in your system)
make install && make

This will produce the licenzio executable.

License

This project is licensed under the MIT License - see the LICENSE file for details.