Installing clab locally

How to install clab to run you labs locally?

bash -c "$(curl -sL https://get.containerlab.dev)"

Upgrade

containerlab version upgrade

$ sudo containerlab version upgrade

---
A newer containerlab 0.61.0 is available. Release notes: https://containerlab.dev/rn/0.61/
You are running containerlab 0.54.2 version
Downloading https://github.com/srl-labs/containerlab/releases/download/v0.61.0/containerlab_0.61.0_linux_amd64.deb
Preparing to install containerlab 0.61.0 from package
(Reading database ... 91060 files and directories currently installed.)
Preparing to unpack .../containerlab_0.61.0_linux_amd64.deb ...
Unpacking containerlab (0.61.0) over (0.54.2) ...
Setting up containerlab (0.61.0) ...
  ____ ___  _   _ _____  _    ___ _   _ _____ ____  _       _     
 / ___/ _ \| \ | |_   _|/ \  |_ _| \ | | ____|  _ \| | __ _| |__  
| |  | | | |  \| | | | / _ \  | ||  \| |  _| | |_) | |/ _` | '_ \ 
| |__| |_| | |\  | | |/ ___ \ | || |\  | |___|  _ <| | (_| | |_) |
 \____\___/|_| \_| |_/_/   \_\___|_| \_|_____|_| \_\_|\__,_|_.__/ 

    version: 0.61.0
     commit: 3065a43b
       date: 2025-01-03T14:28:31Z
     source: https://github.com/srl-labs/containerlab
 rel. notes: https://containerlab.dev/rn/0.61/
Updated on