ShellCheck Install the Latest Version: Difference between revisions

From WikiMLT
(Created page with "Category:Know How ==[https://github.com/koalaman/shellcheck#installing ShellCheck the latest version]== <syntaxhighlight lang="shell" line="1"> # 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 --vers...")
 
m (Стадий: 1 [Фаза:Идентифициране, Статус:Създаване]; Категория:Linux Server)
Line 1: Line 1:
<noinclude><!--[[Category:Linux_Server|?]]-->{{ContentArticleHeader/Linux_Server}}</noinclude>
== References ==
* ...
* ...
== Section 1 ==
...
[[Category:Know How]]
[[Category:Know How]]
==[https://github.com/koalaman/shellcheck#installing ShellCheck the latest version]==
==[https://github.com/koalaman/shellcheck#installing ShellCheck the latest version]==
Line 9: Line 18:
shellcheck --version
shellcheck --version
</syntaxhighlight>
</syntaxhighlight>
<noinclude>
<div id='devStage'>
{{devStage
| Прндл  = Linux Server
| Стадий = 1
| Фаза  = Идентифициране
| Статус = Създаване
| ИдтПт  = {{REVISIONUSER}}
| ИдтДт  = {{Today}}
| ИдтРв  = {{REVISIONID}}
}}
</div>
</noinclude>

Revision as of 13:30, 1 August 2022

Ref­er­ences

Sec­tion 1

ShellCheck the lat­est ver­sion

# 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