Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SofijaErkin/38e9738c6a9225901c70ceb4c9049fee to your computer and use it in GitHub Desktop.
Save SofijaErkin/38e9738c6a9225901c70ceb4c9049fee to your computer and use it in GitHub Desktop.
manually install shellcheck on macOS/Linux

MacOS/Linux Manually Install ShellCheck

shellcheck

Update(16 April 2022 06:40AM):

The better is that update macOS and Xcode.

I take 87 minutes to update macOS(about 12GB) from 10.12.6 to 12.3.1. Version

12.3.1 is cool! Good Job, Apple!

Xcode13(about 12.78GB) take me 20 minutes to download and take 3.5 hours to install.

Also, Xcode13 is cool now.

After that, I also unshallow homebrew-core and homebrew-cask:

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow

And, update the brew:

brew update

I know that i should update the software in time in case of usage.

----------------------------------Do not see-----------------------------------

Do not use brew to install shellcheck on mac.

---------------------Or you could manually install shellcheck------------------

Shell static syntax check tool.

Online using.

For VSCode: vscode-shellcheck.

For Vim: integrated via ALE, Neomake or Syntastic.

ALE deps:clang cppcheck pylint shellcheck golint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment