diff --git a/ipykernel/kernelspec.py b/ipykernel/kernelspec.py
index 1d8541f..0203a87 100644
--- a/ipykernel/kernelspec.py
+++ b/ipykernel/kernelspec.py
@@ -153,7 +153,7 @@ class InstallIPythonKernelSpecApp(Application):
         opts = parser.parse_args(self.argv)
         try:
             dest = install(user=opts.user, kernel_name=opts.name, prefix=opts.prefix,
-                dispay_name=opts.display_name,
+                display_name=opts.display_name,
             )
         except OSError as e:
             if e.errno == errno.EACCES:

Typo in install_kernelspec causes to break
#57 causes 

`The command "python -m ipykernel.kernelspec --user" failed and exited with 1 during .`

as reported in https://travis-ci.org/jupyter/nbconvert/jobs/81479990.

Working on a fix + test now. 
diff --git a/ipykernel/tests/test_kernelspec.py b/ipykernel/tests/test_kernelspec.py
index 409802c..c849436 100644
--- a/ipykernel/tests/test_kernelspec.py
+++ b/ipykernel/tests/test_kernelspec.py
@@ -7,7 +7,7 @@ import os
 import shutil
 import sys
 import tempfile
-
+    
 try:
     from unittest import mock
 except ImportError:
@@ -20,6 +20,7 @@ from ipykernel.kernelspec import (
     get_kernel_dict,
     write_kernel_spec,
     install,
+    InstallIPythonKernelSpecApp,
     KERNEL_NAME,
     RESOURCES,
 )
@@ -75,6 +76,17 @@ def test_write_kernel_spec_path():
     shutil.rmtree(path)
 
 
+def test_install_kernelspec():
+
+    path = tempfile.mkdtemp()
+    try: 
+        test = InstallIPythonKernelSpecApp.launch_instance(argv=['--prefix', path])
+        assert_is_spec(os.path.join(
+            path, 'share', 'jupyter', 'kernels', KERNEL_NAME))
+    finally:
+        shutil.rmtree(path)
+
+
 def test_install_user():
     tmp = tempfile.mkdtemp()
     

pip install -e .
parse_log_pytest
pytest
nose nose-warnings-filters pytest
3.5
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
backcall==0.2.0
certifi==2021.5.30
decorator==5.1.1
entrypoints==0.4
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
-e git+https://github.com/ipython/ipykernel.git@4cda22a855a3e6833fac5ea1ee229eea0a444be6#egg=ipykernel
ipython==7.16.3
ipython-genutils==0.2.0
jedi==0.17.2
jupyter-client==7.1.2
jupyter-core==4.9.2
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
nest-asyncio==1.6.0
nose==1.3.7
nose-warnings-filters==0.1.5
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
parso==0.7.1
pexpect==4.9.0
pickleshare==0.7.5
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
prompt-toolkit==3.0.36
ptyprocess==0.7.0
py @ file:///opt/conda/conda-bld/py_1644396412707/work
Pygments==2.14.0
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pytest==6.2.4
python-dateutil==2.9.0.post0
pyzmq==25.1.2
six==1.17.0
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tornado==6.1
traitlets==4.3.3
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
wcwidth==0.2.13
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: ipykernel
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
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib-metadata=4.8.1=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - backcall==0.2.0
      - decorator==5.1.1
      - entrypoints==0.4
      - ipython==7.16.3
      - ipython-genutils==0.2.0
      - jedi==0.17.2
      - jupyter-client==7.1.2
      - jupyter-core==4.9.2
      - nest-asyncio==1.6.0
      - nose==1.3.7
      - nose-warnings-filters==0.1.5
      - parso==0.7.1
      - pexpect==4.9.0
      - pickleshare==0.7.5
      - prompt-toolkit==3.0.36
      - ptyprocess==0.7.0
      - pygments==2.14.0
      - python-dateutil==2.9.0.post0
      - pyzmq==25.1.2
      - six==1.17.0
      - tornado==6.1
      - traitlets==4.3.3
      - wcwidth==0.2.13
prefix: /opt/conda/envs/ipykernel

ipykernel/tests/test_kernelspec.py::test_install_kernelspec
ipykernel/tests/test_kernelspec.py::test_make_ipkernel_cmd ipykernel/tests/test_kernelspec.py::test_get_kernel_dict ipykernel/tests/test_kernelspec.py::test_write_kernel_spec ipykernel/tests/test_kernelspec.py::test_write_kernel_spec_path ipykernel/tests/test_kernelspec.py::test_install_user ipykernel/tests/test_kernelspec.py::test_install
ipykernel/kernelspec.py
ipykernel/kernelspec.py