Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKonrad Pilch
2,435 PointsHow to reset Vagrant and Homestead? (I need to re-install it, so it's like brand new)
HI,
So iv been messing around with these two, practicing, but with the practice i was runing commands all over the place. Now theres a big mess.
How do i uninstall it or whipe it all out so it's like brand new?
I tried the vagrant website but i have no idea if that worked, probably not.
I need to get a fresh start on vagrant and homestead.
Im doing laravel.
1 Answer
Shane Robinson
7,324 PointsUninstalling Vagrant should be what you are looking for. I'm not sure about homestead.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsYes, iv tried that. I don't think it worked. I can still see it there.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsOkay, im just very confused xd
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsHow do i uninstall homestead? the vagrant file is there, but the vagrant istelf is not there? because the commands for vagrant don't work but in the ls it's there uhh
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsYou've done this step?:
On all platforms, remove the ~/.vagrant.d directory to delete the user data. When debugging, the Vagrant support team may ask you to remove this directory. Before removing this directory, please make a backup.
Removing that directory should remove all your user data that you've accumulated from doing all those commands.
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsAlright, the first answer to this question should be what you are looking for with homestead and Vagrant.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsAhhh, I'm all over the place.
So I did run this
And if I'm correct, the last one worked, i did it yesterday.
And Iv been putting commands in my root, and everywhere which made a mess into it.
I need to uninstall everything and have it like if it's brand new. I'm using this for laravel projects, and they are still there which i though they were ment to be deleted. Do i need any backup? I don't hink i have anything i even want to backup.
On all platforms? I think i did this too .vagrant.d somewhere, not sure.
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsIv tried that too but I can still get into homestead and can still see the yami file.
and this is what i get
So im in root, the hoomestead should go away, and i can log in to the homestead : p iv tried all.
Shane Robinson
7,324 PointsShane Robinson
7,324 PointsHmm, I'm not sure I can help you there. Continue Googling and maybe you will stumble upon what you need or maybe somebody will drop by that knows how to fix the issue. I would recommend editing your original thread just so anybody who comes can see the new information.
Good luck. :)
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsThank you! :) These things aren't fun xd at least when a thing like this cappens, overall vagrant is cool.