I want to open Sublime Text by typing subl test and terminal, but I can't open it because PATH doesn't work.
Please let me know the possible causes and things I should look into.
The subl cannot be opened because PATH is not passing, so I tried executing the code that PATH was introduced to pass by referring to This HP, but it didn't work.
●Sublime Text.app is under Applications
There is also a subl in ●bin
●This is my PATH
There was a folder called ●/usr/local/bin
There was no folder called ●/Users/nakamotookenta/.pyenv/bin (I think this is the reason)
After changing the code in the course, /usr/local/bin, and doing this
The file says it exists
This is what I saw when I typed subl test
If you type in the code in the course,
This is what I saw when I typed subl testsublimetext
was resolved by running and changing the owner in the folder to himself.
Thank you for your reply, Cubick and Hata.
Create a symbolic link by doing the following, and then try running
© 2022 OneMinuteCode. All rights reserved.