Just auto run command on startup. Support Windows, Linux and Macos, no root permission required.
- Download from Releases
- use bpm
bpm i lxl66566/user-startup-rs
- use cargo-binstall
cargo binstall user-startup
- use cargo (compile from source)
cargo install user-startup
# Add a new startup command
user-startup add 'my command'
# List all startup commands and their ids
user-startup list
# Remove startup commands (by id)
user-startup remove 'my'
# Open the startup folder
user-startup open
to see more Usage, run user-startup -h
.
[dependencies]
user-startup = { version = "0.1.0", default-features = false }
see tests.
- Q: If I have more than one line command, how to run them?
- A: Manually write the commands to a script (.bat, .ps1, .sh ...), and runs this script as a command.