Reputation: 31
I can't set path variable for kobweb framework in mac according to kobweb github readme https://github.com/varabyte/kobweb. Here is the screen short I have attached step by step I was trying to setup
[
Upvotes: 1
Views: 308
Reputation: 1
Try using
vi .bashrc
add path here
export path="your path here"
save and exit vi mode - esc followed by-
:wq!
rum this
source .bashrc
try using now
Upvotes: 0
Reputation: 41
You need to source your profile after creating it -- source ~/.bash_profile
for example. Does that help?
Also, what happens if you type ~/Applications/kobweb-0.9.0/bin/kobweb
? Just to make sure everything downloaded and extracted correctly.
Read more about source
here: https://www.baeldung.com/linux/source-command
Also, when you open a new terminal, it may load ~/.bashrc
and not ~/.bash_profile
, so you can either move the PATH
setting in there or load the ~/.bash_profile
file directly in your ~/.bashrc
file, see also: https://apple.stackexchange.com/a/316033
Upvotes: 3