Skip to content

Sette/setup-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup-env

This repository contains a set of scripts and configurations to facilitate the setup of development environments similar to Kaggle on different Linux distributions: Ubuntu, Fedora, and Amazon Linux.

Objective

Automate the preparation of data and science environments, installing essential tools such as Python, Docker, Zsh (with plugins), Fish, among others, so that the user is ready to start Machine Learning and Data Science work quickly.

Project Structure

  • install.sh: Script to prepare Linux environment (installation of Docker, Python, Zsh, Fish, etc.).
  • LICENSE: Project license (MIT License).

Alternative

To install fish in fedora:

sudo dnf install fish -y

Install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh

Install Kiro :

curl -fsSL https://raw.githubusercontent.com/abhilashiig/kiro-ide-linux-installation/main/clone-and-install-kiro.sh | bash

Install Codex cli:

curl -fsSL https://chatgpt.com/codex/install.sh | sh
bash

Install Claude Code cli:

curl -fsSL https://claude.ai/install.sh | bash
bash

How to Use

The main script install.sh allows you to install multiple components at once using flags.

Available Options

  • -n: Non-interactive Mode. Assumes "yes" for all confirmations during installation.
  • -z: Install ZSH. Configures ZSH with Oh My Zsh and plugins (syntax highlighting, autosuggestions).
  • -f: Install Fish. Installs the Fish shell using the available package manager.
  • -u: Install uv. Installs system dependencies, the uv manager, and the global Python version.
  • -d: Install Docker. Performs Docker installation and configuration on the system.
  • -k: Install Kiro. Installs Kiro using the Linux installer script.
  • -x: Install Codex CLI. Installs the Codex CLI.
  • -c: Install Claude Code CLI. Installs the Claude Code CLI.
  • -e LIST: Exclusion Mode. Installs everything except the comma-separated items in LIST. Available exclusion values: zsh, fish, uv, docker, kiro, codex, claude-code.
  • -h: Help. Displays the help message with all options.

Examples

To install everything (Zsh, uv/Python, and Docker) in silent mode:

sh <(wget -qO - https://raw.githubusercontent.com/Sette/setup-env/refs/heads/main/install.sh) -z -u -d -n

To install only Zsh and uv/Python:

sh <(wget -qO - https://raw.githubusercontent.com/Sette/setup-env/refs/heads/main/install.sh) -z -u -n

To install only Fish and uv/Python::

sh <(wget -qO - https://raw.githubusercontent.com/Sette/setup-env/refs/heads/main/install.sh) -f -u -n

To install Kiro, Codex CLI, and Claude Code CLI:

sh <(wget -qO - https://raw.githubusercontent.com/Sette/setup-env/refs/heads/main/install.sh) -k -x -c -n

To install everything except Docker and Kiro:

sh <(wget -qO - https://raw.githubusercontent.com/Sette/setup-env/refs/heads/main/install.sh) -e docker,zsh -n

Reload your shell by running:

If using zsh, run:

source ~/.zshrc

If using bash, run:

source ~/.bashrc

(Optional) (Python) Creating a .venv:

uv venv

Activating the .venv:

source .venv/bin/activate

Recommendations for Python development in VS Code:

https://code.visualstudio.com/docs/python/linting

Follow the instructions for each script, as they may require administrator (sudo) permissions.

Prerequisites

  • Superuser permission (sudo)
  • Internet connection
  • Git installed (for some scripts and plugins)

Notes

  • Scripts can be adapted to your needs.
  • Check the content of each script before running to understand its actions and dependencies.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Collaborate by suggesting improvements and reporting issues.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages