jasonrahm: @drenout can you change your two append lines to this line instead:

`self._meta_data['allowed_commands'].extend(['revoke', 'install'])`
diff --git a/f5/bigip/tm/sys/license.py b/f5/bigip/tm/sys/license.py
index df150f9..c38d3d4 100644
--- a/f5/bigip/tm/sys/license.py
+++ b/f5/bigip/tm/sys/license.py
@@ -41,7 +41,7 @@ class License(UnnamedResource, CommandExecutionMixin):
         super(License, self).__init__(sys)
         self._meta_data['required_json_kind'] =\
             "tm:sys:license:licensestats"
-        self._meta_data['allowed_commands'].append('revoke')
+        self._meta_data['allowed_commands'].extend(['revoke', 'install'])
 
     def exec_cmd(self, command, **kwargs):
         self._is_allowed_command(command)

Add license installation
Add license installation command similar to the revoking the license: 

Code snippet for the revoking the license:
```python
mgnt = ManagementRoot(bigip_mgnt, user, pass)
mgnt.tm.sys.license.exec_cmd('revoke')`
```
Code snippet for the license installation:
```python
mgnt = ManagementRoot(bigip_mgnt, user, pass)
mgnt.tm.sys.license.exec_cmd('install', registrationKey=regkey)
```
diff --git a/f5/bigip/tm/sys/test/unit/test_license.py b/f5/bigip/tm/sys/test/unit/test_license.py
index 617edf2..27222bc 100644
--- a/f5/bigip/tm/sys/test/unit/test_license.py
+++ b/f5/bigip/tm/sys/test/unit/test_license.py
@@ -37,3 +37,17 @@ def test_delete_raises(FakeLicense):
     with pytest.raises(UnsupportedMethod) as EIO:
         FakeLicense.delete()
     assert str(EIO.value) == "License does not support the delete method"
+
+
+def test_exec_install(FakeLicense):
+    assert "install" in FakeLicense._meta_data['allowed_commands']
+    FakeLicense._meta_data['bigip']._meta_data.__getitem__.return_value = "14.0.0"
+    FakeLicense._exec_cmd = mock.MagicMock()
+    version_dict = {"13.1.0": 13, "14.0.0": 14}
+
+    def get_version(version):
+        return version_dict[version]
+
+    License.LooseVersion = mock.MagicMock(side_effect=get_version)
+    FakeLicense.exec_cmd("install", registrationKey='1234-56789-0')
+    FakeLicense._exec_cmd.assert_called_with("install", registrationKey='1234-56789-0')

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio pytest-bdd pytest-benchmark pytest-randomly responses mock hypothesis freezegun trustme requests-mock requests tomlkit
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==25.3.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
coverage==7.8.0
cryptography==44.0.2
exceptiongroup==1.2.2
execnet==2.1.1
f5-icontrol-rest==1.3.13
-e git+https://github.com/F5Networks/f5-common-python.git@fb001e95cc16ddf84ba03c3193582c69cd8ce0df#egg=f5_sdk
freezegun==1.5.1
gherkin-official==29.0.0
hypothesis==6.130.6
idna==3.10
importlib_metadata==8.6.1
iniconfig==2.1.0
Mako==1.3.9
MarkupSafe==3.0.2
mock==5.2.0
packaging==24.2
parse==1.20.2
parse_type==0.6.4
pluggy==1.5.0
py-cpuinfo==9.0.0
pycparser==2.22
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-bdd==8.1.0
pytest-benchmark==5.1.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-randomly==3.16.0
pytest-xdist==3.6.1
python-dateutil==2.9.0.post0
PyYAML==6.0.2
requests==2.32.3
requests-mock==1.12.1
responses==0.25.7
six==1.17.0
sortedcontainers==2.4.0
tomli==2.2.1
tomlkit==0.13.2
trustme==1.2.1
typing_extensions==4.13.0
urllib3==2.3.0
zipp==3.21.0

name: f5-common-python
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==25.3.0
      - certifi==2025.1.31
      - cffi==1.17.1
      - charset-normalizer==3.4.1
      - coverage==7.8.0
      - cryptography==44.0.2
      - exceptiongroup==1.2.2
      - execnet==2.1.1
      - f5-icontrol-rest==1.3.13
      - freezegun==1.5.1
      - gherkin-official==29.0.0
      - hypothesis==6.130.6
      - idna==3.10
      - importlib-metadata==8.6.1
      - iniconfig==2.1.0
      - mako==1.3.9
      - markupsafe==3.0.2
      - mock==5.2.0
      - packaging==24.2
      - parse==1.20.2
      - parse-type==0.6.4
      - pluggy==1.5.0
      - py-cpuinfo==9.0.0
      - pycparser==2.22
      - pytest==8.3.5
      - pytest-asyncio==0.26.0
      - pytest-bdd==8.1.0
      - pytest-benchmark==5.1.0
      - pytest-cov==6.0.0
      - pytest-mock==3.14.0
      - pytest-randomly==3.16.0
      - pytest-xdist==3.6.1
      - python-dateutil==2.9.0.post0
      - pyyaml==6.0.2
      - requests==2.32.3
      - requests-mock==1.12.1
      - responses==0.25.7
      - six==1.17.0
      - sortedcontainers==2.4.0
      - tomli==2.2.1
      - tomlkit==0.13.2
      - trustme==1.2.1
      - typing-extensions==4.13.0
      - urllib3==2.3.0
      - zipp==3.21.0
prefix: /opt/conda/envs/f5-common-python

f5/bigip/tm/sys/test/unit/test_license.py::test_exec_install
f5/bigip/tm/sys/test/unit/test_license.py::test_delete_raises f5/bigip/tm/sys/test/unit/test_license.py::test_create_raises
f5/bigip/tm/sys/license.py
f5/bigip/tm/sys/license.py