How can I enable west build in Git Bash?

Hello folks!

Today, I have what I hope is a really easy fix that I just can't find the answer to.

I would like to transition from using the nRF Connect extension "build" and "flash" commands.

To using my own scripts that use CLI commands (e.g. "west build ..." or "west flash ...").

I've had good luck doing that by opening nrf connect terminal

But I'd like to do those commands via bash, so that I can use keyboard shortcuts and scripts to build from my default environment.

I've included west on my path, (export PATH=...), but I run into "west: unknown command "build"; did you need to run this inside a workspace?"

What's the right way to set up git bash so that my west build commands are viable in my default environment?

Thank you very much,

    - Finn

Related