Skip to content

rspm-offline-downloader get pypi#

Advanced

Download files required to run Posit Package Manager in an air-gapped environment

rspm-offline-downloader get pypi [flags]

Examples#

  rspm-offline-downloader get pypi --rspm-version=[Posit Package Manager version] --destination=[/path/to/destination] --file-in=[/path/to/requirements.txt]

Options#

      --base-url string         Optional. The base URL to locate files. (default "https://rspm-sync.rstudio.com")
      --concurrency int         Optional. The number of concurrent downloads. Must be greater than 0. Default 500. (default 500)
      --destination string      The destination to download files.
      --dryrun                  Optional. Describe the downloads without saving any files.
      --file-in string          The path to a file containing the packages to import. The file format is a requirements.txt file.
  -h, --help                    help for pypi
      --outbound-proxy string   Optional. URL to use for outbound HTTP(s) requests. Values may be either a complete URL or a host[:port], in which case the http scheme is assumed.
  -q, --quiet                   Optional. Run this command with minimal output.
      --rspm-version string     Your version of Posit Package Manager, e.g., 2024.04.0

Options inherited from parent commands#

      --cache     Enables caching between subsequent calls to the offline downloader (default true)
  -v, --verbose   Provide additional output