Hey there, It looks like you are trying to run Vagrant inside a virtual machine. You have probably ssh'd into that Virtual Machine, where as Vagrant is installed on your host.
On Mon, Feb 25, 2019 at 7:24 PM 'Karen Goh' via Vagrant < [email protected]> wrote: > I was able to log in to vagrant via vagrant ssh > > so when I tried to check the port number I am getting vagrant is currently > not installed > > Hope someone can tell me why? > > Last login: Sun Feb 24 08:29:29 2019 from 10.0.2.2 > vagrant@vagrant-ubuntu-trusty-64:~$ finger vagrant > Login: vagrant Name: > Directory: /home/vagrant Shell: /bin/bash > On since Tue Feb 26 03:17 (UTC) on pts/0 from 10.0.2.2 > 5 seconds idle > No mail. > No Plan. > vagrant@vagrant-ubuntu-trusty-64:~$ vagrant port > The program 'vagrant' is currently not installed. To run 'vagrant' please > ask your administrator to install the package 'vagrant' > vagrant@vagrant-ubuntu-trusty-64:~$ port vagrant > No command 'port' found, did you mean: > Command 'poet' from package 'libpoet-perl' (universe) > Command 'psort' from package 'radiance' (universe) > Command 'pork' from package 'pork' (universe) > Command 'sort' from package 'coreutils' (main) > port: command not found > vagrant@vagrant-ubuntu-trusty-64:~$ port vagrant student > No command 'port' found, did you mean: > Command 'poet' from package 'libpoet-perl' (universe) > Command 'psort' from package 'radiance' (universe) > Command 'pork' from package 'pork' (universe) > Command 'sort' from package 'coreutils' (main) > port: command not found > vagrant@vagrant-ubuntu-trusty-64:~$ vagrant port student > The program 'vagrant' is currently not installed. To run 'vagrant' please > ask your administrator to install the package 'vagrant' > vagrant@vagrant-ubuntu-trusty-64:~$ vagrant ssh > The program 'vagrant' is currently not installed. To run 'vagrant' please > ask your administrator to install the package 'vagrant' > vagrant@vagrant-ubuntu-trusty-64:~$ vagrant up > The program 'vagrant' is currently not installed. To run 'vagrant' please > ask your administrator to install the package 'vagrant' > vagrant@vagrant-ubuntu-trusty-64:~$ vagrant halt > The program 'vagrant' is currently not installed. To run 'vagrant' please > ask your administrator to install the package 'vagrant' > vagrant@vagrant-ubuntu-trusty-64:~$ vagrant resume > The program 'vagrant' is currently not installed. To run 'vagrant' please > ask your administrator to install the package 'vagrant' > vagrant@vagrant-ubuntu-trusty-64:~$ > > Windows OS 10. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/71509dc0-f12e-48da-965c-4fb725208d60%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/71509dc0-f12e-48da-965c-4fb725208d60%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Brian Cain -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CADHESCVdigdr2WdFgBjzpcWhKWLJdQKu9nTy4OsPAhamprFocQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
