ShellCheck Install the Latest Version: Difference between revisions
From WikiMLT
mNo edit summary |
m Spas moved page ShellCheck Install the Latest Version on Ubuntu to ShellCheck Install the Latest Version without leaving a redirect |
||
(No difference)
|
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