@Umesh - that was my problem - I was adding an extra $ to the command - once I removed the $, it worked fine.
Thank you Ryan On Sun, Mar 3, 2019 at 9:11 AM Umesh Singla <[email protected]> wrote: > Hi > > On Sun, Mar 3, 2019 at 5:25 AM Ryan Grow <[email protected]> wrote: > >> I installed macports today and did not preload xcode before installing. >> Before testing any commands in the terminal, I installed xcode. But then >> when I tried the $ port version command in the terminal, and received >> 'bash: $: command not found' as a response. I added "export >> PATH=/opt/local/bin:/opt/local/sbin:$PATH" and it did not change anything. >> > > It's giving "bash: $: command not found" error, are you sure there was no > "$" before the command? It should be "port version" instead of "$ port > version". > > Otherwise, it should have been "bash: port: command not found". > > >> I tried uninstalling - but terminal does not appear to recognize any >> 'port' commands. Thoughts? >> > > Not sure if it is related to my above explanation. > > Umesh > > >> >> Ryan G >> >
