| Dec |
JAN |
Feb |
|
11 |
|
| 2021 |
2022 |
2023 |
About this capture
The Wayback Machine - http://web.archive.org/web/20220111013939/https://github.com/features/packages
Skip to content
Sign up
●
●
Features
●
Mobile
●
Actions
●
Codespaces
●
Packages
●
Security
●
Code review
●
Issues
●
Integrations
●
GitHub Sponsors
●
Customer stories
●
●
●
●
Explore GitHub
●Learn and contribute
●
Topics
●
Collections
●
Trending
●
Learning Lab
●
Open source guides
●Connect with others
●
The ReadME Project
●
Events
●
Community forum
●
GitHub Education
●
GitHub Stars program
●
●
●
Plans
●
Compare plans
●
Contact Sales
●
Education
Search
All GitHub
↵
Jump to
↵
-
No suggested jump to results
{{ message }}
GitHub Packages
Your packages,
at home with their code
With GitHub Packages, you can safely publish and consume packages within your organization or with the entire world.
Get started
See pricing
Docker
npm
Maven
NuGet
RubyGems
$ echo $PAT | docker login ghcr.io --username phanatic --password-stdin
Logged in successfully
$ docker tag app ghcr.io/phanatic/app:1.0.0
$ docker push ghcr.io/phanatic/app:1.0.0
1.0.0: digest: sha256:631cb8...fc822c size: 1373
$ npm login --registry=https://npm.pkg.github.com --scope=@phanatic
Successfully logged in.
$ npm publish
Package published
$ mvn deploy -Dregistry=https://maven.pkg.github.com/phanatic -Dtoken=$GH_TOKEN
Uploaded: https://maven.pkg.github.com/phanatic/com/github/app/1.0/github_api-1.0.pom (2 KB at 1.0 KB/sec)
$ nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/phanatic/octokit/index.json" -UserName phanatic
$ nuget pack
$ nuget push "octokit.net.1.0.0.nupkg" -Source "GitHub"
Your package was pushed
$ echo ":github: Bearer ${GH_TOKEN}" >> ~/.gem/credentials
$ gem build github_api.gemspec
$ gem push --key github --host https://rubygems.pkg.github.com/phanatic/github_api github_api-1.0.0.gem
Successfully registered gem: github_api (1.0.0)
Read developer docs
Easy publishing
Use industry and community-standard package managers with native tooling commands. Then authenticate and publish directly to GitHub.

