To install Cursor (AI code editor) using winget
, you can use the following command:
winget install cursor
1. Pre-installation Check:#
- Make sure
winget
is installed (default support for Windows 10 1709+ and Windows 11). - Check the
winget
version:winget --version
2. Recommendations#
- When installing with
winget
, you can specify the download path using the--location
parameter (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.