I am just a beginner in terminal usage and I tried to learn how to use it for WP theme creation. I installed zsh shell and oh-my-zsh on my terminal, but when I open website SSH my zsh theme isn’t displayed and curl or brew aren’t working though they work when I open terminal directly. Can you advice what I can do?
When you click on “Open Site SSH” you’re opening the site’s Docker container which is running a barebones version of Debian Linux. brew is only available for macOS.
If you’d like to use curl, you can install it using apt-get. Here’s how:
First, apt-get needs updated before you can install anything. The command to run to do this is apt-get update
Then, run apt-get install -y curl to install curl.
Or, if you’d like to run one-single command to install zsh + Oh My Zsh, try the following (it’s the commands above but concatenated and slightly modified to allow for a one-liner). Step #1 is still required.