Installing organization packages
To install a package from your organization, you need to authenticate with dartpm and have the appropriate permissions.
Installing private packages
To install a private package from your organization:
-
Make sure you are logged in to dartpm:
dartpm login
-
Install the package using the package name:
dartpm add <scope>/<package-name>
Installing public packages
Public packages from your organization can be installed without authentication:
dartpm add <scope>/<package-name>
Troubleshooting
If you encounter issues installing packages:
- Verify you are logged in to dartpm, use
dartpm doctor
- Check that you have the correct permissions in your organization
- Ensure the package name and version are correct
- Check your internet connection
- Try
dartpm login
again
For more help, contact your organization administrator or dartpm support.