--- title: "Install SQL Server Replication | Microsoft Docs" description: Install replication components by using the SQL Server Installation Wizard or in a Command Prompt window. ms.custom: "" ms.date: "07/26/2017" ms.prod: sql ms.reviewer: "" ms.technology: install ms.topic: conceptual helpviewer_keywords: - "components [SQL Server replication]" - "command line installations [SQL Server replication]" - "installing replication" - "replication [SQL Server], installing" - "command prompt [SQL Server replication]" ms.assetid: c50ad078-060b-4a8d-ad45-9e31a8d85729 author: cawrites ms.author: chadam monikerRange: ">=sql-server-2016" --- # Install SQL Server replication [!INCLUDE [SQL Server -Windows Only](../../includes/applies-to-version/sql-windows-only.md)] Replication components can be installed by using the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Installation Wizard or at a command prompt. Install replication when you install [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], or when you modify an existing instance. After replication components are installed, you must configure the server before you can use replication. For more information, see [Configure Distribution](../../relational-databases/replication/configure-distribution.md) in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Books Online. >[!IMPORTANT] >If you install replication components when you modify an existing instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], you must stop and restart [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent after the installation is completed. This action helps ensure that [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent recognizes the replication agent subsystems and can call replication agents from job steps. ## Installing replication by using Setup **To install replication when installing a new instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]** - To install replication components, including Replication Management Objects (RMO), select **SQL Server Replication** on the **Feature Selection** page of the Installation Wizard. ## Installing Replication from the Command Prompt **To install replication when installing a new instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]** - See [Install SQL Server from the Command Prompt](./install-sql-server-from-the-command-prompt.md). ## See also [Install SQL Server](../../database-engine/install-windows/install-sql-server.md) [Install SQL Server from the Command Prompt](./install-sql-server-from-the-command-prompt.md) [Features Supported by the Editions of SQL Server 2017](../../sql-server/editions-and-components-of-sql-server-2017.md) and [Features Supported by the Editions of SQL Server 2019](../../sql-server/editions-and-components-of-sql-server-version-15.md)