fw_set
Set the backend and the location of fw
fw_set with no arguments shows the options. Options are stored in stata.conf in the Framework configuration folder and apply to every project.
| Backend | Behavior |
|---|---|
auto |
Stata handles folders and Framework Cloud. GitHub and S3 use fw when it is installed, then framework-py. The default. |
core |
Stata only. GitHub and S3 publishing stop with an error. |
cli |
Every publish goes through fw. |
python |
Every publish goes through framework-py in Stata's Python. Stata 16 or newer. |
Usage
fw_set
fw_set backend {auto|core|cli|python}
fw_set fw_path {path|clear}
Options
| Name | Default | Description |
|---|---|---|
| backend | auto |
Environment variable: |
| fw_path |
The full path to |
Details
The global FW_BACKEND overrides the stored backend for one session: global FW_BACKEND cli.
fw_set fw_path points to fw when Stata cannot find it. The Stata application on macOS starts with a short PATH, so this is common there.
Examples
Not run
fw_set backend cli
fw_set fw_path "/opt/homebrew/bin/fw"