Skip to main content

Install new computer (inc) 0.1.21

Install basic software for different operating systems:

See documentation

Installation for users

First install uv:

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

Then install inc:

uv tool install inc --python 3.12

Usage

inc --help

Update inc

When installed with uv tool install, update to the latest release with:

inc self update

List available scripts

inc ls

Example output:

Available bash scripts:
  conda_python311
  conda_python312
  dotfiles
  gmsh
  new_mac

Run a script

inc run <script_name>

For example, to install gmsh:

inc run gmsh

To see what a script would do without running it:

inc run gmsh --dry-run

Install applications

Install an individual application with the native package manager:

inc apps install gh

For the same short workflow used by the script runner, catalog applications are also available through inc run and appear in its completion list:

inc run gh

App and profile names support shell completion after running inc --install-completion. For example, type inc apps install g and press Tab.

Preview the command without installing anything:

inc apps install gh --dry-run

Install a predefined group of applications without confirmation:

inc apps install --profile core --yes
inc apps install --profile dev --yes

Inspect the catalog and current installation state:

inc apps list
inc apps status
inc doctor

Applications and platform package mappings are declared in inc/apps.toml. The supported package families are Arch/Manjaro, Debian/Ubuntu, Fedora/RHEL, openSUSE, macOS/Homebrew, and Windows/WinGet.

View script contents

inc cat <script_name>

Installation for developers

git clone https://github.com/joamatab/install_new_computer.git ~/install_new_computer
cd ~/install_new_computer
uv sync

Install the local checkout as an editable command that works from any directory:

just tool-install
just tool-check

For MacOs type this into a terminal first:

xcode-select --install

Testing the Mac setup flow

uv sync --extra dev
uv run pytest

tests/test_mac_setup.py runs the setup scripts with temporary home directories, local Git repositories, and substitutes for system-changing commands. It covers sudo authorization, Fish returning to setup, dotfiles cloning and updates, package failures, and paths with spaces. When Fish is installed, it also checks the installer arguments with the real executable. CI installs Fish for this check.

These tests do not install the full application list or change macOS settings. Before relying on a release for a fresh computer, also run inc run new_mac on a disposable Mac or macOS VM and confirm the dotfiles links and applications work.

References

Metadata

Release files for inc 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inc 0.1.21
File Size Uploaded Provenance
inc-0.1.21.tar.gz 368.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for inc 0.1.21
File Interpreter ABI Platform
inc-0.1.21-py3-none-any.whl Python 3 none any Details

Total release size: 859.4 kB

Release files / inc-0.1.21.tar.gz

Download URL inc-0.1.21.tar.gz
Size 368.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c403e7cb975e762fd56511b7af1d57ce5a24d2529915b03da30ccbb121a89f80
BLAKE2b-256 checksum
How to use checksums
7711b2fa511f79df12f0d865de2ffece95c184f0b0d7b5e33068690e188b6d32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / inc-0.1.21-py3-none-any.whl

Download URL inc-0.1.21-py3-none-any.whl
Size 491.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ba0c1ae01c9b6488c232cc9e29d6cda97a088eb726d5271248cd845f6ac7207
BLAKE2b-256 checksum
How to use checksums
cefabb5d052194736fd6b1076778334858894f90721ba0150472a25ace4b2787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for inc 0.1.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page