How to run sublime-text

I use Chrome OS. I downloaded snapd and sublime-text.

Now I am unsure how to run it. I tried doing ‘snap run sublime-text’ but it showed ‘error: cannot find app “sublime-text” in “sublime-text”’

Can someone help?

Hi, the snap sublime-text has an app called subl, so you need to use:

sublime-text.subl

You can alias it to something else with snap alias:

snap alias sublime-text.subl subl