> For AI agents: the complete documentation index is available at https://www.jumpserver.com/docs/v4/llms.txt, the full documentation bundle is available at https://www.jumpserver.com/docs/v4/llms-full.txt.

# Upgrade

This topic describes how to upgrade JumpServer, including both the open-source and enterprise editions.


Tip

We recommend upgrading JumpServer regularly to access the latest designs and features.

## Upgrade for one-line installation

If you have installed JumpServer using the [Install with a one-line command](https://www.jumpserver.com/docs/v4/installation.md#install-with-a-one-line-command) guide, you can upgrade JumpServer by running the following steps.


1

Log in to the JumpServer deployment server using the "root" or another user with superuser privileges.

2

Change to the `/opt` directory.

3

Download the latest installation package.
```sh
wget https://github.com/jumpserver/installer/releases/download/v4.10.20/jumpserver-installer-v4.10.20.tar.gz
```

4

Extract the installation package.
```sh
tar -zxvf jumpserver-installer-v4.10.20.tar.gz
```

5

Change to the extracted directory.
```sh
cd jumpserver-installer-v4.10.20
```

6

Perform the upgrade.
```sh
./jmsctl.sh upgrade
```

7

Start all services.
```sh
./jmsctl.sh start
```

8

At this point, you have successfully upgraded JumpServer.

## Upgrade for offline installation

If you have installed JumpServer using the [Install with an offline package](https://www.jumpserver.com/docs/v4/installation.md#install-with-an-offline-package) guide, you can upgrade JumpServer by running the following steps.


1

Log in to the JumpServer deployment server using the "root" or another user with superuser privileges.

2

Change to the `/opt` directory.

3

Download the JumpServer Enterprise offline installation package.

**Web**

1

Log in to [https://support.fit2cloud.com](https://support.fit2cloud.com) using the username and password provided by the support team.

2

View the details of your valid Enterprise Edition subscription and navigate to the 'Installation Packages' tab. Find the installation package that matches your required version and architecture, click the 'Download' button, and then click 'Download' in the pop-up dialog to copy the download link.

3

Upload the offline installation package to the `/opt` directory on the deployment server.


**wget**

1

Log in to [https://support.fit2cloud.com](https://support.fit2cloud.com) using the username and password provided by the support team.

2

View the details of your valid Enterprise Edition subscription and navigate to the 'Installation Packages' tab. Find the installation package that matches your required version and architecture, click the 'Download' button, and then click 'Copy Link' in the pop-up dialog to copy the download link.

3

Replace the download link and run the following command to download the offline installation package.
```sh
cd /opt && wget -O jumpserver-ee-v4.10.20-x86_64.tar.gz "https://support.fit2cloud.com/download/00000000-0000-0000-0000-00000000000/jumpserver-ee-v4.10.20-x86_64.tar.gz"
```

4

Extract the installation package.
```sh
tar -zxvf jumpserver-ee-v4.10.20-x86_64.tar.gz
```

5

Change to the extracted directory.
```sh
cd jumpserver-ee-v4.10.20-x86_64
```

6

Perform the upgrade, the upgrade process can be completed using all default options.
```sh
./jmsctl.sh upgrade
```

7

Start all services.
```sh
./jmsctl.sh start
```

8

At this point, you have successfully upgraded JumpServer.
