bash : apt : command not found (Win 10)

I am using Phpstorm on Windows 10.

I want to use apt command in terminal of Phpstorm.

How can I do that?! 

 

0

Aptitude is a Debian package manager, the shell you are using is Bash for Windows, so you shouldn't expect apt to be there.
You need a virtual machine that would hold a Debian-like Linux distribution such as Ubuntu. Please take a look at WSL:

https://docs.microsoft.com/en-us/windows/wsl/install-win10

0

请先登录再写评论。