Skip to content

Installation

Installation Options

I want it to be simple and easy

If you want to keep it as simple as possible you can just do

pip install pypi-command-line
pip install git+https://github.com/wasi-master/pypi-command-line.git

I want it to be fast

If you want to make it fast then you can do

pip install "pypi-command-line[speedups]"
pip install "pypi-command-line[speedups] @ git+https://github.com/wasi-master/pypi-command-line.git"

For an explanation on how this speeds up things see notes

I will not use some commands

If you only want to install dependencies for the commands you use then you can see notes and only install the dependencies you want:

First you need to install it without any dependencies.

pip install --no-dependencies pypi-command-line
pip install --no-dependencies git+https://github.com/wasi-master/pypi-command-line.git

Then you need to install the required dependencies for any of the commands to work.

pip install rich, typer, requests, humanize

Then install any of the extra dependencies you want according to the commands you need or the speed dependencies.

For example if you only want the information command then you can just install packaging since it only requires that

pip install packaging

I don't have pip

If for some reason you don't have pip then you should get pip. See instructions at https://pip.pypa.io/en/stable/installation/ then install it with the ways shown above

Or if you have git installed then you can clone then install as shown below

I want to clone then install

You can also clone the repo with git and then install it using the setup.py file

git clone https://github.com/wasi-master/pypi-command-line.git
cd pypi-command-line
python setup.py install

Note

You'll need git in order to do this

Troubleshooting

Command pip not found

Error Messages

Powershell

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ pip install pypi-command-line
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

or

pip: The term 'pip' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Command Prompt

'pip' is not recognized as an internal or external command,
operable program or batch file.

Bash

pip: command not found

Zsh

zsh: command not found: pip

If you get this error you should change pip to python -m pip and if it still doesn't work you should install pip again. See instructions at https://pip.pypa.io/en/stable/installation/

Note

if python also doesn't work try python3 or py. If nothing works make sure you have installed python correctly and it's in path

Back to top