JupyterLab memo
jlpm
jlpm の実行には node.js が必要である🤔
anyenv - rbenv スタイルのオールインワン環境マネージャー および
nodenv - anyenv - rbenv スタイルのオールインワン環境マネージャー
jlpm は yarn のロックされたバージョンである🤔
Contribute — JupyterLab 4.1.2 documentation 翻訳 より
Thejlpmcommand is a JupyterLab-provided, locked version of the yarn package manager. If you haveyarninstalled already, you can use theyarncommand when developing, and it will use the local version ofyarninjupyterlab/yarn.jswhen run in the repository or a built application directory.
jlpmコマンドは、JupyterLab が提供する、yarn パッケージ マネージャーのロックされたバージョンです。すでにyarnがインストールされている場合は、開発時にyarnコマンドを使用できます。また、リポジトリまたはビルドされたアプリケーションディレクトリで実行するときに、jupyterlab/yarn.js内のローカルバージョンのyarnが使用されます。
$ jupyter --version
Selected Jupyter core packages...
IPython          : 9.1.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.6
jupyter_client   : 8.6.3
jupyter_core     : 5.7.2
jupyter_server   : 2.15.0
jupyterlab       : 4.4.0
nbclient         : 0.10.2
nbconvert        : 7.16.6
nbformat         : 5.10.4
notebook         : 7.4.0
qtconsole        : not installed
traitlets        : 5.14.3
$ bat -p $(which jlpm)
#!/home/tomoyan/miniforge3/envs/jupyterlab/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from jupyterlab.jlpmapp import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
