--- title: "Install SQL Server Replication | Microsoft Docs" ms.custom: "" ms.date: "07/26/2017" ms.prod: "sql" ms.prod_service: "database-engine" ms.service: "" ms.component: "install-windows" ms.reviewer: "" ms.suite: "sql" ms.technology: - "setup-install" ms.tgt_pltfrm: "" ms.topic: "article" 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 caps.latest.revision: 41 author: "MikeRayMSFT" ms.author: "mikeray" manager: "craigg" --- # Install SQL Server replication [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.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](../../database-engine/install-windows/install-sql-server-2016-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](../../database-engine/install-windows/install-sql-server-2016-from-the-command-prompt.md) [Features Supported by the Editions of SQL Server](../../sql-server/editions-and-components-of-sql-server-2017.md)