Since 2021 Slicer install tree has been fully portable: it can store all settings and extensions in the installation folder and the application can be launched from anywhere, without installation, by any user. This has the side effect that the installation folder has to be writable. See some more information here:
Slicer can be built with Slicer_STORE_SETTINGS_IN_APPLICATION_HOME_DIR=OFF
to store settings and extensions in the user profile by default, but extensions that need to install additional Python packages must be installed by a user that has write access to the installation folder.