Installing on Windows: Difference between revisions

From FreeCAD Documentation
(TOCright)
(lang=none is not supported.)
Line 45: Line 45:


To install FreeCAD silently, you can execute the installer the following way from the command line:
To install FreeCAD silently, you can execute the installer the following way from the command line:
</translate>{{Code|lang=none|FreeCAD-~.exe /S}}<translate>
</translate>{{Code|lang=text|code=FreeCAD-~.exe /S}}<translate>


Then all choices will be kept with their default settings. To set another installation path than the default, you can specify it the following way:
Then all choices will be kept with their default settings. To set another installation path than the default, you can specify it the following way:
</translate>{{Code|lang=none|code=FreeCAD-~.exe /S /D=A path to FreeCAD with spaces}}<translate>
</translate>{{Code|lang=text|code=FreeCAD-~.exe /S /D=A path to FreeCAD with spaces}}<translate>


By default there will also with silent installations be a short popup necessary to check the installer is not corrupted. This so-called cyclic redundancy check only takes few second, depending on your system less than a second. Of you are somehow annoyed by this, you can disable the corruption check by
By default there will also with silent installations be a short popup necessary to check the installer is not corrupted. This so-called cyclic redundancy check only takes few second, depending on your system less than a second. Of you are somehow annoyed by this, you can disable the corruption check by
</translate>{{Code|lang=none|FreeCAD-~.exe /S /NCRC}}<translate>
</translate>{{Code|lang=text|code=FreeCAD-~.exe /S /NCRC}}<translate>


Note that the ''/NCRC'' flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
Note that the ''/NCRC'' flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
Line 85: Line 85:


The uninstaller can also be executed silently using the command line:
The uninstaller can also be executed silently using the command line:
</translate>{{Code|lang=none|Uninstall-FreeCAD.exe /S}}<translate>
</translate>{{Code|lang=text|code=Uninstall-FreeCAD.exe /S}}<translate>


'''Note:''' to uninstall, FreeCAD must not be running, also no other version of FreeCAD. So when the silent uninstallation does not work, there is a running instance of FreeCAD.
'''Note:''' to uninstall, FreeCAD must not be running, also no other version of FreeCAD. So when the silent uninstallation does not work, there is a running instance of FreeCAD.

Revision as of 08:44, 16 February 2022

You can install FreeCAD on Windows by downloading the installer below:

Template:DownloadWindowsStable

After downloading the installer, double-click it to start the installation process.

Below is more information about some technical options. But most users don't need more than the above .exe file. Head to Getting started after installation is complete.

Standard Installation

The easiest way to install the latest stable version of FreeCAD is by using the installer linked above.

If you would like to download a development version (which may be unstable), see the Weekly builds download page.

Installation for all users of the Windows system

By default FreeCAD will be installed for the user that executes the installer. When this user has only user permissions, the default installation path is

C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY

When the installer is executed by an admin user, or you execute it as admin you can choose of FreeCAD should be installed for all users of the system of just for you. The default is for all users.

When installed for all users, the default installation path is

C:\Program Files\FreeCAD X.YY

Silent Installation

To install FreeCAD silently, you can execute the installer the following way from the command line:

FreeCAD-~.exe /S

Then all choices will be kept with their default settings. To set another installation path than the default, you can specify it the following way:

FreeCAD-~.exe /S /D=A path to FreeCAD with spaces

By default there will also with silent installations be a short popup necessary to check the installer is not corrupted. This so-called cyclic redundancy check only takes few second, depending on your system less than a second. Of you are somehow annoyed by this, you can disable the corruption check by

FreeCAD-~.exe /S /NCRC

Note that the /NCRC flag is not recommended since the corruption check assures that the installer was e.g. completely downloaded.

Chocolatey

However, it is highly recommended that you use a package manager such as Chocolatey to keep your software updated. You can installed Chocolatey following these instructions and then open a PowerShell terminal as admin and run:

choco install freecad

every once in a while you can update your software with

choco upgrade freecad

to get the latest version available on Chocolatey repository. If there are any issues with the chocolatey package, you may contact maintainers on this page.

Uninstallation

To uninstall FreeCAD use preferably the Windows' tools to uninstall software. Alternatively you can execute the uninstaller directly. This is the file

Uninstall-FreeCAD.exe

you find in the folder where FreeCAD is installed.

The uninstaller can also be executed silently using the command line:

Uninstall-FreeCAD.exe /S

Note: to uninstall, FreeCAD must not be running, also no other version of FreeCAD. So when the silent uninstallation does not work, there is a running instance of FreeCAD.