Whats the difference between magic commands %pip and %sh pip

tj-cycyota
Databricks Employee
Databricks Employee

In Databricks you can do either

%pip

or

%sh pip

Whats the difference? Is there a recommended approach?