Skip to main content

🐙 Getting started

info

OctoType is still in early development, so the docs are subject to change, and might not be entirely up to date at the moment.

Installation​

Installing OctoType is currently only tested on Linux - Feel free to open an Issue if any problems occur on other systems.

Cargo​

OctoType can be easily installed through Cargo by running:

cargo install octotype

To install a specific version, you can prepend the version after the package name:

cargo install octotype@0.3.2

Nix​

OctoType is currently only supported as a Nix Flake. You can add the flake to your config, and install octotype like so:

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
octotype.url = "github:mahlquistj/octotype/main";
};

outputs = { self, nixpkgs, rio }: {
# Replace `hostname` with your own hostname
nixosConfigurations.hostname = nixpkgs.lib.nixosSystem {
modules = [
({ pkgs, ... }: {
# Add OctoType to your system packages
environment.systemPackages = [
octotype.packages.${pkgs.system}.octotype
];
})
];
};
};
}

For more info regarding using OctoType with Home Manager see Settings

🔖 CLI Arguments​

ShortLongDescription
--print-configPrints the current settings, modes, and source
-p--print-settingsPrints the current settings
-c <path>--config <path>Overrides the default config location
-h--helpShows a help page with the list of arguments