pyenv pipenv Related command list

Make a note so as not to forget it.

pyenv

//List of installable python versions
$ pyenv install --list

//python install command
$ pyenv install (Any version)

//Version setting(If local, reflect in current dir)
$ pyenv local (Any version)

//Version setting(In the case of global, it is reflected in the whole)
$ pyenv global (Any version)

//Check version
$ python --version

//List of installed versions
$ pyenv versions

pipenv

//Package installation
$ pipenv install (package name)

//Package installation(Version specified)
$ pipenv install (package name)==(Any version)

//Install packages used only in the development environment
$ pipenv install --dev (package name)

//Install by specifying the version of Python itself
$ pipenv --python (Any version)

//Start shell in the environment created by pipenv
$ pipenv shell

//Check the path of the virtual environment
$ pipenv --venv

//Package security vulnerability detection
$ pipenv check

//View package dependency graph
$ pipenv graph
$ pipenv graph --reverse

App launch / launch scripts [scripts]

//sample with pipenv run start.Example of starting py
[scripts]
start = "python sample.py"

$ pipenv run start

Recommended Posts

pyenv pipenv Related command list
Linux command list
Image related command summary
What is Linux? [Command list]
Command list such as Docker / Kubernetes
Error: pyenv: no such command `sh-activate'