mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 06:13:54 -07:00
Instructions for adding build to PATH.
This commit is contained in:
parent
f01e6e1a99
commit
47193fd7af
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
@ -40,11 +40,18 @@ On Mac OS X with MacPorts (http://www.macports.org/):
|
||||||
With cabal installed, cd to the shellcheck source directory and:
|
With cabal installed, cd to the shellcheck source directory and:
|
||||||
|
|
||||||
$ cabal install
|
$ cabal install
|
||||||
...
|
|
||||||
|
This will install shellcheck to your ~/.cabal/bin directory.
|
||||||
|
|
||||||
|
Add the directory to your path (for bash, add this to your ~/.bashrc file):
|
||||||
|
|
||||||
|
export PATH=$HOME/.cabal/bin:$PATH
|
||||||
|
|
||||||
|
Verify that your PATH is set up correctly:
|
||||||
|
|
||||||
$ which shellcheck
|
$ which shellcheck
|
||||||
~/.cabal/bin/shellcheck
|
~/.cabal/bin/shellcheck
|
||||||
|
|
||||||
|
|
||||||
## Building with Make
|
## Building with Make
|
||||||
|
|
||||||
ShellCheck is written in Haskell, and requires GHC, Parsec3, JSON and
|
ShellCheck is written in Haskell, and requires GHC, Parsec3, JSON and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue