Installing Slither #409
-
Hi all! I am trying to install Slither on my Mac using zsh. I have installed slither using The .zshrc file also suggests a path coming from bash.
How can I change the path to install slither correctly? I know it's an easy path fix... any help is appreciated. A similar issue can be found here |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Try ChatGPT's answer: To add
nano ~/.zshrc
export PATH=$HOME/.local/bin:$PATH This line of code is adding $HOME/.local/bin to your $PATH. The $PATH variable is a list of directories that your shell searches through when you enter a command. source ~/.zshrc
echo $PATH You should see Remember, when editing your |
Beta Was this translation helpful? Give feedback.
-
For reference purpose in case someone gets here looking for a solution. You can do |
Beta Was this translation helpful? Give feedback.
An update:
It took a long time but I think this stack-overflow helped resolve the issue. To clarify I am using
.oh-my-zsh
andhomebrew
.In the ~ directory, input the command:
You should see codes like:
Copy and paste them to the end of your .zshrc file, save and exit.
Reopen the terminal and don't forget to
source ~/.zshrc
and pip can be used to install Slither.Sometimes setting up the local environment can be the biggest hurdle. But it's worth it for such an incredible tool like Slither.
Hope this help…