ShellCheck Install the Latest Version: Difference between revisions

From WikiMLT
m (Стадий: 5 [Фаза:Утвърждаване, Статус:Авторизиран]; Категория:Linux Server)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{ContentArticleHeader/Linux_Server}}</noinclude>
<noinclude>{{ContentArticleHeader/Linux_Server}}</noinclude>
[[Category:Know How]]
==Deploy the latest stable version of ShellCheck==
==Deploy the latest stable version of ShellCheck==
<syntaxhighlight lang="shell" line="1">
<syntaxhighlight lang="shell" line="1">
Line 16: Line 15:
{{devStage  
{{devStage  
  | Прндл  = Linux Server
  | Прндл  = Linux Server
  | Стадий = 5
  | Стадий = 6
  | Фаза  = Утвърждаване
  | Фаза  = Утвърждаване
  | Статус = Авторизиран
  | Статус = Утвърден
  | ИдтПт  = Spas
  | ИдтПт  = Spas
  | РзбПт  = Spas
  | РзбПт  = Spas

Latest revision as of 11:55, 2 August 2022

De­ploy the lat­est sta­ble ver­sion of ShellCheck

# Instead of 'stable' you could use "v0.4.7" or "latest", etc.
cd /tmp && \
scversion="stable" && \
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv && \
sudo cp "shellcheck-${scversion}/shellcheck" /usr/local/bin/ && \
shellcheck --version

Ref­er­ences