Ok, so you have macports installed in the default prefix. If /opt/local/bin is in your path, and the port command is in that direct (??) then there is no reason why running port at the command line should not work.
Chris > On 3 Mar 2019, at 5:00 pm, Ryan Grow <[email protected]> wrote: > > Ahh... the mp prefix... is that the "/opt/local/bin:/opt/local/sbin" that is > listed twice > > When I type > >ls /opt/local > the response is > bin etc include lib libexec man sbin share var > > > Ryan Grow > [email protected] > 760-571-7844 > > >> On Sun, Mar 3, 2019 at 8:46 AM Chris Jones <[email protected]> wrote: >> >> Hi, >> >> Please keep your replies on list. >> >> Your PATH has the mp prefix in it(multiple times, so could be cleaned up...) >> >> So what about >> >> > ls /opt/local >> >> ? >> >> Chris >> >>> On 3 Mar 2019, at 4:36 pm, Ryan Grow <[email protected]> wrote: >>> >>> Hi Chris - >>> >>> Thanks for the response. I have restarted Terminal (and computer, just in >>> case) >>> >>> When I do echo $PATH, it returns >>> /opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/opt/local/sbin >>> >>> Ryan Grow >>> [email protected] >>> 760-571-7844 >>> >>> >>>> On Sun, Mar 3, 2019 at 3:22 AM Christopher Jones >>>> <[email protected]> wrote: >>>> Hi, >>>> >>>> Have you tried restarting Terminal, to get a clean new bash prompt ? >>>> >>>> If it still does not work what does >>>> >>>> > echo $PATH >>>> >>>> > ls /opt/local/ /opt/local/bin >>>> >>>> give ? >>>> >>>> Chris >>>> >>>> > On 2 Mar 2019, at 11:54 pm, 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. >>>> > >>>> > I tried uninstalling - but terminal does not appear to recognize any >>>> > 'port' commands. Thoughts? >>>> > >>>> > Ryan G >>>>
