Win10安裝wget

0x00 安裝chocolatey

  1. Way1:使用Cmd安裝(需要管理員權限)
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
  1. Way2:使用PowerShell安裝(需要管理員權限)
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  • choco -v 命令檢查有沒有安裝成功,成功的話應該可以看到版本號

0x01 安裝Wget

  • 官網教程
  • 只需要 choco install wget 這一條命令就可以了
  • wget -V 命令檢查有沒有安裝成功,成功的話應該可以看到版本號
  • 隨便提一下,更新命令爲 choco upgrade wget

0x02 完成

  • OK,到這裏本文就算是結束了,你可以在Windows下面暢快的使用wget了
  • 有用的話記得給贊哦
  • 有問題的話請在評論區文明討論

0x03 附:其他chocolatey相關命令

  • 更新 choco upgrade chocolatey
  • 卸載稍微麻煩一點,看 官網教程
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章