"Quarto: command not found" in the terminal and shell, but I am able to create and render .qmd files.

Which version of RStudio are you using ? You shouldn't have to install Quarto as it comes shipped withing RStudio IDE.

By installing another version, you need to be sure it is put in PATH so that it can be access in RStudio Terminal. Is this working your OS terminal ?