• Goku@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    11 months ago
    chmod +x ./install.sh 
    ./install.sh
    
    

    Hmm usually not a secure practice to do this

    • 0000@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      What’s the alternative to doing this? Is it safer to read the script first and then execute it as

      sh ./install.sh?

        • duncesplayed@lemmy.one
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          Those instructions are from the official docs, and install.sh comes from the source repo. It’s an annoying script (it basically runs apt, npm, make, on your behalf…thanks, I can do that myself), but if you’re trusting the repo source to begin with, I don’t think it’s any less secure.