By default, packages are installed locally within a virtual environment and are only available to that environment. However, you can use the --system flag with the pip or conda install command to install a package globally. This is generally not recommended, as it can lead to conflicts with other environments or the main Python installation.