hunk.code_window:   - pnpm i --prefix .scripts/self-installer
     - pnpm i
   script:
     - /bin/bash lint-commits.sh
     - ./node_modules/.bin/commitlint --from=$TRAVIS_COMMIT
     - npm t
   env:
     global:
       - CC=clang CXX=clang++ npm_config_clang=1
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:   - npm test --prefix .scripts/self-installer
  
hunk.file_path: .travis.yml
hunk.type: add
file: # @pnpm/self-installer
  
  > Installs and uninstalls pnpm
  
  ## Usage
  
  Use [unpkg](https://unpkg.com/) to access the installation script and set up pnpm:
  
  ```
  curl -L https://unpkg.com/@pnpm/self-installer | node
  ```
  
  The above script will install the latest version of pnpm but you may also install
  a specific version:
  
  ```
  curl -L https://unpkg.com/@pnpm/self-installer@1.16.2 | node
  ```
  
  You can also use a semver range:
  
  ```
  curl -L https://unpkg.com/@pnpm/self-installer@1 | node
  ```
  
  Or a tag:
  
  ```
  curl -L https://unpkg.com/@pnpm/self-installer@next | node
  ```
  
  **NOTE:** Installation by version or range works from `1.16.2` only.
  
  ## License
  
  [MIT](https://github.com/pnpm/pnpm/blob/master/.scripts/self-installer/LICENSE)
  