diff --git a/install_quarto.sh b/install_quarto.sh new file mode 100644 index 0000000000000000000000000000000000000000..08e3667e091fa19b1e01a9fa5fc962e625248b53 --- /dev/null +++ b/install_quarto.sh @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------- +# Quarto installation. +# +# URL para download. +URL="https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.290/quarto-1.3.290-linux-amd64.deb" +# echo "$URL" + +# Baixa o .deb. +wget "$URL" -O ~/Downloads/quarto-linux-amd64.deb +# ls ~/Downloads | grep "quarto" + +# Instala. +sudo dpkg -i ~/Downloads/quarto-linux-amd64.deb + +# Testa se está instalado. +which quarto +quarto --version + +#----------------------------------------------------------------------- +# Usage. + +# quarto render document.qmd # defaults to html +# quarto render document.qmd --to pdf +# quarto render document.qmd --to docx + +#-----------------------------------------------------------------------