Mehedi hassan piash
Mehedi hassan piash

Reputation: 31

Can not set path variable in mac for KobWeb

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

Trying set path variable using bash_profile

[Set path variable][2]

Creating kobweb project but command not working

Upvotes: 1

Views: 308

Answers (2)

Ashutosh Sharma
Ashutosh Sharma

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

David Herman
David Herman

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

Related Questions