install_no_writable

Diagnostic `nanook::cli::install_no_writable`

Summary

no writable directory found in $PATH

Help

{0}

Details

When this fires

nanook install walked every directory on $PATH and couldn't find one it could write to. The probe tries user-owned dirs (anything under $HOME) before system dirs, so if both buckets fail you land here. Common when running as a non-root user with no ~/.local/bin on $PATH.

What to check

Two clean options. Either create a user bin dir and add it to your shell profile:

mkdir -p ~/.local/bin
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
exec $SHELL -l
nanook install

Or escalate if you actually want a system-wide install:

sudo nanook install

You can also bypass the search entirely with --to /absolute/path.