Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

myenv

Environment setup script for Ubuntu — installs Python venv support, pipx, Poetry, and HashiCorp Vault CLI.

Overview

Setup.sh is a single shell script that prepares a development environment on Ubuntu by installing:

  1. Python 3 venvpython3-venv package for virtual environments.
  2. HashiCorp Vault CLI — adds the HashiCorp apt repository and installs vault.
  3. pipx — user-level Python package installer (installed via pip).
  4. Poetry — Python dependency management tool (installed via pipx).

Prerequisites

  • Ubuntu Linux (uses apt-get, lsb_release)
  • sudo privileges
  • Python 3 with pip installed
  • Internet access

Setup

git clone https://github.com/biofool/myenv.git
cd myenv
chmod +x Setup.sh

How to Run

./Setup.sh

The script will:

  1. Install python3-venv via apt.
  2. Add the HashiCorp GPG key and apt repository.
  3. Install HashiCorp Vault CLI.
  4. Install pipx via pip --user.
  5. Source .profile to update PATH.
  6. Install Poetry via pipx.
  7. (Re-adds the HashiCorp repository and reinstalls Vault — this is duplicated in the script.)

Project Structure

myenv/
├── README.md     # This file
└── Setup.sh      # Environment setup script

Notes

  • The HashiCorp repository addition and Vault installation are duplicated in the script (appears twice); the second occurrence is redundant.
  • The script uses the deprecated apt-key add method for GPG key management; modern Ubuntu recommends gpg --dearmor to a keyring file.
  • Run on a fresh Ubuntu system or VM for best results.
  • After running, verify installations with: vault version, pipx --version, poetry --version.

About

Environment setup

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages