How to add something to the PATH on Windows? #1921
Replies: 4 comments 3 replies
-
Hmm, the Shorebird installer tries to add |
Beta Was this translation helpful? Give feedback.
-
I don't know 🤷 Suggestions welcome, we're happy to change our powershell script in any way necessary! |
Beta Was this translation helpful? Give feedback.
-
Hey @nilsreichardt,
For now, how to use Shorebird on Codemagic's Windows machine?
I'm gonna leave this discussion open for now. |
Beta Was this translation helpful? Give feedback.
-
This discussion is being closed due to no activity in the last 14 days. You can reopen the discussion at any time if needed. |
Beta Was this translation helpful? Give feedback.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
Hey 👋 I'm writing the docs for using Shorebird and Codemagic on Windows machines: https://docs.shorebird.dev/ci/codemagic.
Unfortunately, I'm unable to add Shorebird to the PATH. How can I achieve this? On macOS/Linux I can just run
echo PATH="$HOME/.shorebird/bin:$PATH" >> $CM_ENV
.My current workflow (the issue is in the
Add-Content -Path $env:CM_ENV -Value
):Docs on how to add an environment variable:
https://docs.codemagic.io/yaml-basic-configuration/using-environment-variables/
Expected results
I want to be able to run
shorebird
commands.Actual results
Either I'm getting directly error code 1 or
Build id (optional)
64c2da967b1051fc62323c64
Beta Was this translation helpful? Give feedback.
All reactions