(CommandList
  children: [
    (C {(set)} {(-o)} {(errexit)})
    (C {(set)} {(-o)} {(nounset)})
    (C {(set)} {(-o)} {(pipefail)})
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:prefix) op:Equal rhs:{(DQ (/usr/local/bin))} spids:[36])]
      spids: [36]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:version)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Number 1>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{})
                spids: [43 46]
              )
            }
          spids: [42]
        )
      ]
      spids: [42]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {(-z)} {(DQ (${ VSub_Name version))} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:version)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(curl)} {(-s)} 
                                    {(https) (Lit_Other ':') 
                                      (//api.github.com/repos/karlkfi/intemp/releases/latest)
                                    }
                                  )
                                  (C {(grep)} {(SQ <tag_name>)})
                                  (C {(cut)} {(-d) (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)} 
                                    {(-f4)}
                                  )
                                ]
                                negated: False
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [67 92]
                      )
                    }
                  spids: [66]
                )
              ]
              spids: [66]
            )
          ]
          spids: [16777215 63]
        )
      ]
      spids: [16777215 94]
    )
    (C {(echo)} 
      {
        (DQ ('Installing intemp ') (${ VSub_Name version) (' -> ') (${ VSub_Name prefix) (/intemp.sh))
      }
    )
    (SimpleCommand
      words: [
        {(curl)}
        {(-o-)}
        {
          (DQ ('https://raw.githubusercontent.com/karlkfi/intemp/') (${ VSub_Name version) (/intemp.sh))
        }
      ]
      redirects: [
        (Redir
          op_id: Redir_Great
          fd: 16777215
          arg_word: {(DQ (${ VSub_Name prefix) (/intemp.sh))}
          spids: [123]
        )
      ]
    )
    (C {(chmod)} {(a) (Lit_Other '+') (x)} {(DQ (${ VSub_Name prefix) (/intemp.sh))})
  ]
)