Issue
I just installed Snapcraft and then using it to install Ngrok, but unfortunately I still unable to run Ngrox from my terminal.
╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/labs/hello-world ‹master›
╰─➤ sudo snap install ngrok 1 ↵
ngrok 2.3.27 from Khiem Doan (khiemdoan) installed
Ngrk Is Listed Now
╭─yoesoff@yoesoff-ThinkPad-X220 ~/Documents/labs/hello-world ‹master›
╰─➤ snap list 127 ↵
Name Version Rev Tracking Publisher Notes
core 16-2.39 6964 stable canonical✓ core
ngrok 2.3.27 13 stable khiemdoan -
But It Does not Work
╭─yoesoff@yoesoff-ThinkPad-X220 ~
╰─➤ ngrok
zsh: command not found: ngrok
My question is how to run an application that installed using snapcraft ?
Thanks you
Solution
The problem is caused by Snapcraft poor documentation I think. the only way to run the installed application by Snap should be run by Snap either. Here is how to run an application that installed using Snap:
snap run ngrok --version
ngrok version 2.3.27
This way will not work
ngrok
zsh: command not found: ngrok
A little bit weird but I think it's better to unzip Ngrok manually instead of using this poor tool.
Answered By - Yusuf Ibrahim Answer Checked By - Robin (WPSolving Admin)