Installing clidocs
Requirements
| Requirement | Purpose |
|---|---|
| Windows 10 / 11 (64-bit) | Supported OS |
| PowerShell 5.1+ | Built into Windows, used for file dialogs |
Neovim (nvim) | Editing snippets |
| Git | GitHub sync |
Windows Terminal (wt) | Recommended, opens Neovim in a new tab |
| Nerd Font (e.g. JetBrainsMono) | Folder icons |
| Go 1.24+ | Only to build from source |
winget install Neovim.Neovimwinget install Git.Gitwinget install Microsoft.WindowsTerminalInstallation
Option A: installer (recommended)
-
Download
clidocs.exeandclidocs-install.exefrom the releases page. -
Place both files in the same folder.
-
Run the installer as Administrator:
Janela do terminal .\clidocs-install.exe -
Choose the installation folder and confirm.
clidocsis added to thePATHautomatically. -
Open a new terminal and run
clidocs.
Option B: build from source
git clone https://github.com/F4NT0/clidocs.gitcd clidocsgo mod tidygo build -o clidocs.exe ..\clidocs.exeOn Linux, the alternative is to use WSL 2 and run clidocs.exe from the Windows side. This page will be updated once native support exists.
Testing the project
After installing, open PowerShell and run:
# Open the default folder (%USERPROFILE%\clidocs_snippets)clidocs
# Use the current folder as the snippets rootclidocs .
# Open a specific folderclidocs C:\Users\You\my-snippetsA quick test run inside the app:
- On the splash screen, press
Enterto use the default folder. - In the Folders panel, press
nand create a folder. - In the Snippets panel (
Tab), pressnand create a file, for exampletest.go. - Press
Enterto edit it in Neovim and save with:wq. - Press
/to search andLto toggle line numbers. - Press
:and typehelpto see the console commands. - Press
qto quit.
Snippets are stored in %USERPROFILE%\clidocs_snippets\.