This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Gitlab

How to Install GitLab

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to install GitLab EE on an offline Ubuntu environment.

Quick summary

This guide walks you through how to install GitLab Enterprise Edition on an offline environment by downloading the package on an internet-connected host and transferring it via USB drive. Each step includes the exact terminal commands needed to complete a successful air-gapped GitLab EE installation on Ubuntu.


Steps

  1. On a host with internet access, download the repository script by running curl --silent https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash.
  2. Run sudo apt-get install --download-only gitlab-ee to download the GitLab EE package without installing it.
  3. Use the ls command to check the download directory and confirm all required .deb files are present.
  4. Copy the downloaded GitLab package to a USB drive using the command sudo cp *.deb /mnt/usb for transfer to the offline environment.
  5. Transfer the files from the USB drive to your offline environment host.
  6. Run sudo dpkg -i to install any required dependencies before proceeding with the main installation.
  7. Complete the installation by running sudo EXTERNAL_URL="http://<your-gitlab-url>" dpkg -i gitlab-ee_14.7.2-33.0_amd64.deb to fully install GitLab EE on the offline server.

📌 Why this matters

Installing GitLab Enterprise Edition in an air-gapped or offline environment is a critical requirement for organizations operating in secure, regulated, or network-restricted infrastructures. This demo shows exactly how to download the GitLab EE package on an internet-connected machine, transfer it via USB, and complete a fully offline installation using standard Debian package commands. Teams in government, finance, and enterprise IT can use this process to self-host a complete DevSecOps platform without exposing their environment to the public internet. Getting GitLab running offline ensures teams retain full control over source code, CI/CD pipelines, and compliance workflows inside their own infrastructure.
Your product deserves an interactive demo
Start free
Similar Articles
Gitlab

How to Integrate Replit with GitLab

Madhav Bhandari
Director of Marketing @ Storylane
Gitlab

How to Create a Pull Request in GitLab

Madhav Bhandari
Director of Marketing @ Storylane
Gitlab

How to Integrate Snyk with GitLab

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it