#926·navi

Bug when using navi in windows terminal

Author: hgftrdw45ud67is8o89Created Dec 19, 2024Updated Mar 9, 2026
Labelsbugwindows

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I configured navi with powershell as call cmd according to the official documentation. However there are error in runtime. After install cheatsheet I

Logs

navi then pick>config

At line:2 char:2
+ [ -f "$f" ] || navi info
config-example > "$f"
+  ~
Missing type name after '['.
At line:2 char:13
+ [ -f "$f" ] || navi info
config-example > "$f"
+             ~~
The token '||' is not a valid statement
separator in this version.
    + CategoryInfo          : ParserErro
   r: (:) [], ParentContainsErrorRecord
  Exception
    + FullyQualifiedErrorId : MissingTyp
   ename

Versions: latest

  • OS: Win11,native windows terminal that is in github. Not cmd

Additional context I then setup git and then picked cheatsheet in the bottom to install it But now I cannot see the subcommand suggestion again.