Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AmrMekkawy/83ce75c6c4042f2e9b773a99c8652518 to your computer and use it in GitHub Desktop.
Save AmrMekkawy/83ce75c6c4042f2e9b773a99c8652518 to your computer and use it in GitHub Desktop.
How to access your project's files and folders through Vagrant?

How to access your project's files and folders through Vagrant?

# Go to the root of your project
cd /path/to/your/project/root

# Enter vagrant
vagrant ssh

# Access the project's files and folders
# This path is what you define in `Homestead.yaml` file if you install laravel homestead per project
cd /home/vagrant/code/places/
# or
cd ~/code/places/

# You can see the contents of the folder through..
ls
# To exit from vagrant execute the next command..
exit

How to access your project's files and forlders through Vagrant?

The path in the Homestead.yaml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment