cirruslabs / tart

macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://tart.run
Other
3.67k stars 103 forks source link

How to uninstall tart? #699

Closed Jackakhan closed 6 months ago

Jackakhan commented 6 months ago

I installed tart, but cant figure out how to access it. Attempted to delete it but cant locate its file path.

All i can find is a folder labeled tart that has what looks like an empty app labeled "tart" 12mb, and a text file titled "license" that is 2 mb. The description online says it should take up 25gig.

Any help would be greatly appreciated.

Screenshot 2024-01-10 at 7 55 31 AM

edigaryev commented 6 months ago

I installed tart

How did you installed it in the first place?

For Homebrew, uninstalling is as simple as:

brew uninstall cirruslabs/cli/tart
Jackakhan commented 6 months ago

I'm really not sure.. I believe I went to https://tart.run/. Then copied and pasted a code into terminal.

I'm sorry, I'm really unfamiliar with these kinds of things. What is homebrew?

edigaryev commented 6 months ago

I'm really not sure.. I believe I went to https://tart.run/. Then copied and pasted a code into terminal.

If you've followed these instructions, then the command I've posted above should work for you.

Jackakhan commented 6 months ago

i think i copied and pasted this into terminal: brew install cirruslabs/cli/tart tart clone ghcr.io/cirruslabs/macos-sonoma-base:latest sonoma-base tart run sonoma-base.

Should i paste the command you sent into terminal?

edigaryev commented 6 months ago

Should i paste the command you sent into terminal?

Yep, check out the How to Uninstall Packages with Homebrew article by OSXDaily for more details.

Jackakhan commented 6 months ago

I pasted the command and received this message: "-bash: brew: command not found"

Does that means I didn't instal it correctly?

edigaryev commented 6 months ago

It's weird that your default shell is Bash, because the default one on macOS is Zsh.

Is there a chance you've removed Homebrew after installing Tart?

You can also try invoking the Homebrew by an absolute path:

/opt/homebrew/bin/brew uninstall cirruslabs/cli/tart
Jackakhan commented 6 months ago

Its apple m2.

As i said before, I don't know what home brew is.

Same result with the new code you sent me

edigaryev commented 6 months ago

As i said before, I don't know what home brew is.

Assuming that you've simply downloaded the archive from releases page, you can just remove the directory containing LICENSE and tart files, that's it.

Jackakhan commented 6 months ago

Go it. Thank you.

So If i wanted to use tart correctly, I'd need to instal hombrew, and then run the command "brew install cirruslabs/cli/tart tart clone ghcr.io/cirruslabs/macos-sonoma-base:latest sonoma-base tart run sonoma-base".

Is that correct?

edigaryev commented 6 months ago

Is that correct?

That's correct!

Homebrew is the preferred way of installing Tart at the moment.

Jackakhan commented 6 months ago

Got it, ok i'll try to find info on what homebrew is, and how to instal it.

Thank you for all your help!