Forum Discussion
Question using Fabric-CLI. How to Switch to interactive mode?
- 1 year ago
Hi alfBI,
Thanks for the response, the version you are currently using is 1.0.0 which still does not yet include the interactive shell feature.
The interactive shell (fab:/ >) was officially introduced in version 1.0.6 and above.
Clear pip cache and upgrade to Fabric CLI version 1.0.6 or newer specifically from the new fabri cli package on PyPI that includes the interactive shell.
Uninstall the existing version and install the latest version explicitly:
pip install fabric-cli --upgrade --force-reinstall
Then after Verify the version and run the shell
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hey!
Great question—and you're not alone, this part can be a bit confusing at first 😅
Setting the mode to interactive doesn’t automatically open the shell. It just enables interactive behavior once you're inside the shell.
To actually enter the interactive shell, you need to run:
fab
This will drop you into the Fabric CLI shell with the prompt:
fab:/ >
From there, you can use commands like ls, cd, help, etc.
Let us know if that works for you!
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.