Skip to content

Feature request: provide .ps1 install script for Windows #381

Description

@ducaale

TinyTeX currently provides the Windows installer as a batch file which requires more steps to use than its Linux/macOS counterpart. It would be nice if there was a powershell version that could be downloaded and executed in a single command, e.g iwr -useb https://deno.land/install.ps1 | iex.

For context, I would like to add one-liner instructions for how to install TinyTeX in https://github.com/saadq/resumake.io

# Shell (Mac, Linux)
$ curl -sL https://yihui.org/tinytex/install-bin-unix.sh | sh

# PowerShell (Windows)
$ iwr -useb https://yihui.org/tinytex/install-bin-windows.ps1 | iex

By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/tinytex').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions