Skip to content

Installing clidocs

Requirements

RequirementPurpose
Windows 10 / 11 (64-bit)Supported OS
PowerShell 5.1+Built into Windows, used for file dialogs
Neovim (nvim)Editing snippets
GitGitHub 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
Janela do terminal
winget install Neovim.Neovim
winget install Git.Git
winget install Microsoft.WindowsTerminal

Installation

  1. Download clidocs.exe and clidocs-install.exe from the releases page.

  2. Place both files in the same folder.

  3. Run the installer as Administrator:

    Janela do terminal
    .\clidocs-install.exe
  4. Choose the installation folder and confirm. clidocs is added to the PATH automatically.

  5. Open a new terminal and run clidocs.

Option B: build from source

Janela do terminal
git clone https://github.com/F4NT0/clidocs.git
cd clidocs
go mod tidy
go build -o clidocs.exe .
.\clidocs.exe

Testing the project

After installing, open PowerShell and run:

Janela do terminal
# Open the default folder (%USERPROFILE%\clidocs_snippets)
clidocs
# Use the current folder as the snippets root
clidocs .
# Open a specific folder
clidocs C:\Users\You\my-snippets

A quick test run inside the app:

  1. On the splash screen, press Enter to use the default folder.
  2. In the Folders panel, press n and create a folder.
  3. In the Snippets panel (Tab), press n and create a file, for example test.go.
  4. Press Enter to edit it in Neovim and save with :wq.
  5. Press / to search and L to toggle line numbers.
  6. Press : and type help to see the console commands.
  7. Press q to quit.

Snippets are stored in %USERPROFILE%\clidocs_snippets\.