docs/getting-started/index.md
See the Installation section in the README for all available installation methods, including Homebrew, AUR, .deb/.rpm packages, npm, crates.io, and building from source.
Run Fresh from the command line:
# Open an empty buffer
fresh
# Open a file
fresh src/main.rs
# Open a file at a specific line
fresh src/main.rs:42
# Open a file at a specific line and column
fresh src/main.rs:42:10
# Open multiple files (with optional line:col)
fresh Cargo.toml src/lib.rs:100:5
# Open a remote file via SSH (experimental)
fresh user@host:/path/to/file.txt
# Open a remote directory via SSH
fresh user@host:~/projects
The file:line:col syntax is useful for jumping directly to compiler errors or search results.
Ctrl+P to open it, and then start typing to search for commands.