ShellCheck Install the Latest Version: Difference between revisions
From WikiMLT
m Стадий: 3 [Фаза:Разработване, Статус:Разработван]; Категория:Linux Server |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude | <noinclude>{{ContentArticleHeader/Linux_Server}}</noinclude> | ||
[[Category:Know How]] | [[Category:Know How]] | ||
== | ==Get the latest stable version of ShellCheck== | ||
<syntaxhighlight lang="shell" line="1"> | <syntaxhighlight lang="shell" line="1"> | ||
# Instead of 'stable' you could use "v0.4.7" or "latest", etc. | # Instead of 'stable' you could use "v0.4.7" or "latest", etc. | ||
Line 18: | Line 10: | ||
shellcheck --version | shellcheck --version | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== References == | |||
* GitHub: [https://github.com/koalaman/shellcheck#installing ShellCheck] | |||
<noinclude> | <noinclude> | ||
<div id= | <div id="devStage"> | ||
{{devStage | {{devStage | ||
| Прндл = Linux Server | | Прндл = Linux Server |
Revision as of 12:34, 1 August 2022
Get the latest stable version 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
References
- GitHub: ShellCheck