To install Cursor (AI code editor) using winget, you can use the following command:
winget install cursor
1. Pre-installation Check:#
- Ensure that
wingetis installed (default support for Windows 10 1709+ and Windows 11). - Check the
wingetversion:winget --version
2. Recommendations#
- When installing with
winget, you can specify the download path using the--locationparameter (but the installation package will not be automatically deleted):winget install Anysphere.Cursor --location D:\Ruanjian\cursor
You can replace the above path with your own path.