Install
Blak installs under its own NVIM_APPNAME, so it cannot overwrite an existing Neovim configuration.
One command
curl -fsSL https://getblak.dev/install.sh | shblakThat script:
- Verifies Git and Neovim 0.12+ are present.
- Creates a sparse runtime checkout at
~/.config/blak. - Writes a launcher at
~/.local/bin/blakthat runsNVIM_APPNAME=blak nvim. - Prints a one-line status with any caveats.
The runtime checkout includes Blak’s Lua runtime, Vim help files, picker ignore metadata, lockfile, changelog, license, notice, README, and logo. It leaves out contributor-only files such as docs/, scripts/, .github/, and generated splash source assets.
If ~/.local/bin is not on your PATH, you’ll see a hint to either add it or run NVIM_APPNAME=blak nvim directly. An optional shell alias does the same:
alias blak='NVIM_APPNAME=blak nvim'What it creates
| Path | Purpose |
|---|---|
~/.config/blak/ | Sparse runtime checkout |
~/.local/bin/blak | Launcher that sets NVIM_APPNAME=blak |
~/.local/share/blak/ | Plugin data (lazy.nvim) |
~/.local/state/blak/ | State including the extras file |
Nothing under ~/.config/nvim/ is touched.
Customizing the install location
The installer respects environment variables when you want isolation for testing or multiple checkouts.
# Install under a different app name (e.g. blak-dev)curl -fsSL https://getblak.dev/install.sh | BLAK_APPNAME=blak-dev sh
# Install from a forkcurl -fsSL https://getblak.dev/install.sh | \ BLAK_REPO_URL=https://github.com/your-fork/blak.nvim.git sh
# Install a specific branch or tag from that repocurl -fsSL https://getblak.dev/install.sh | BLAK_REF=feature-branch shWhen BLAK_APPNAME is set, the config directory and launcher both use that name. For example, BLAK_APPNAME=blak-dev creates ~/.config/blak-dev/ and ~/.local/bin/blak-dev.
From a clone (developers)
If you want to hack on Blak itself, clone first and symlink:
git clone https://github.com/binbandit/blak.nvim ~/Developer/blak.nvimcd ~/Developer/blak.nvim./dev-install.shblak-devThis symlinks the checkout to ~/.config/blak-dev. Edits in the checkout are live on next launch, with plugin state fully isolated from a production blak install. See Contributing for the full dev loop.
Uninstalling
rm -rf ~/.config/blak ~/.local/share/blak ~/.local/state/blak ~/.local/bin/blakThat’s it — no system files were touched.