Stuck on "Add command grin to environmental variables" step

I enter vi .profile in terminal and then I can add export PATH="$HOME/grin/target/release:$PATH"
but then I can’t figure out how to proceed. I hit enter and it just beeps at me.

Also, couldn’t figure out how to ad the line at the end, seems like it wont fit so I had to put it between the last two lines.

Any help would be appreciated. Thanks.

better use the “nano” editor.

Thank you very much for the response and help. Cheers.

Why do you need an editor to do that?

echo 'export PATH="$HOME/grin/target/release:$PATH"' >> ~/.profile
1 Like