How to Install bin on NixOS Latest
Bin is a command line utility that lets you organize and access frequently used commands. Here's how you can install bin on NixOS Latest:
- Open your terminal and navigate to your home directory by running:
cd ~
- Clone the bin repository to your local machine by running:
git clone https://github.com/w4/bin.git
- Navigate to the bin directory by running:
cd bin
- Build the bin package by running:
nix-build -A bin
This will create a symlink for the bin program at ./result/bin/bin. You can move this symlink to a directory in your $PATH by running:
sudo mv ./result/bin/bin /usr/local/bin
- Verify that bin is installed by running:
bin --version
This should output the current version of bin.
That's it! You've successfully installed bin on NixOS Latest. Now you can start organizing and accessing your frequently used commands with ease.