简体   繁体   中英

Flutter commands not working in cmd, powershell or gitbash

I format my laptop and installed windows, and I wanted to reinstall flutter on my new OS. I downloaded the installation bundle and extracted them as stated in the official documentation. But, when I try to run any command a cmd pops up with some messages and suddenly vanishes, and there is nothing happening. I have attached the screenshots of my PowerShell version and user env variables below.

电源外壳的图像

环境中的图像

Turns out Formatting the computer makes things work again, There was some sort of malware that makes all my.exe files and batch files corrupt and it runs some processes, always try following the guidelines in the official documentation, and always double-check the processes in your system as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM