Skip to content

Installing clidocs

Requirements

RequirementNotes
Windows 11 + PowerShellPrimary supported platform
Neovim (nvim)Must be in PATH to edit files
GitOnly for the Git sync feature
A Nerd Font (e.g. JetBrains Mono Nerd Font)Folder and language icons
Go 1.24+Only to build from source

One-command installation

Choose your operating system:

Open PowerShell and paste the command below. It downloads clidocs-installer.exe from the latest GitHub release into a temporary folder, runs it (the installer downloads and installs clidocs.exe from the latest release) and deletes the temporary installer.

PowerShell
$i="$env:TEMP\clidocs-installer.exe"; iwr https://github.com/F4NT0/clidocs/releases/latest/download/clidocs-installer.exe -OutFile $i; & $i; Remove-Item $i -Force

The installer lists the steps it will pe

The installer lists the steps it will perform and asks whether you want to install (y to confirm).

When it finishes, every step is shown as

When it finishes, every step is shown as done and the installer reports where clidocs was installed.

What the installer does

  1. Finds the latest release on GitHub
  2. Downloads clidocs.exe
  3. Verifies the SHA-256 checksum
  4. Installs it in %LOCALAPPDATA%\clidocs
  5. Adds that folder to the user PATH
  6. Creates the clidocs command in PowerShell

Open a new terminal and type clidocs. Running the installer again updates an existing install.

Other options

Option 2: installer executable

Download clidocs-installer.exe from the releases page and run it, or build the installer:

Janela do terminal
go build -o clidocs-installer.exe ./cmd/clidocs-installer
.\clidocs-installer.exe

Option 3: from the cloned repository

Janela do terminal
git clone https://github.com/F4NT0/clidocs.git
cd clidocs
go run . --install

Option 4: from an installed clidocs

Janela do terminal
clidocs --install # install or update to the latest release
clidocs --install -y # skip the confirmation prompt

Uninstall

Janela do terminal
clidocs --uninstall # asks for confirmation
clidocs --uninstall -y # skip the confirmation prompt

Removes the PowerShell alias, the PATH entries and every clidocs.exe found on PATH. Folders are removed only when empty. Your snippets are never deleted.

First run

Open any PowerShell window and run:

Janela do terminal
clidocs