A command line tool that lets you easily create new programming projects with support for many languages and frameworks.
- C
- Manual
- Makefile
- CMake
- C#
- Console
- ASP.NET Core Empty
- ASP.NET Core Web App
- ASP.NET Core Web App (Model-View-Controller)
- ASP.NET Core Web API
- Go
- Python
- Rust
- Binary
- Library
- Initialize git repository
- Create README.md file
- Create LICENSE file
Create a new project in the current directory (must be empty):
tmpl
Use --help
for a comprehensive list of options.
- Open the Start menu
- Search for
powershell
- Hit
Run as Administrator
- Paste the following commands and hit enter:
Invoke-WebRequest -Uri "https://github.com/Bananenpro/tmpl/releases/latest/download/tmpl-windows-amd64.zip" -OutFile "C:\Program Files\tmpl.zip"
Expand-Archive -LiteralPath "C:\Program Files\tmpl.zip" -DestinationPath "C:\Program Files\tmpl"
rm "C:\Program Files\tmpl.zip"
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH -Value "$((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).path);C:\Program Files\tmpl"
IMPORTANT: Please reboot for the installation to take effect.
rm -r -fo "C:\Program Files\tmpl"
Invoke-WebRequest -Uri "https://github.com/Bananenpro/tmpl/releases/latest/download/tmpl-windows-amd64.zip" -OutFile "C:\Program Files\tmpl.zip"
Expand-Archive -LiteralPath "C:\Program Files\tmpl.zip" -DestinationPath "C:\Program Files\tmpl"
rm "C:\Program Files\tmpl.zip"
Open the Terminal application, paste the command for your architecture and hit enter.
To update, simply run the command again.
curl -L https://github.com/Bananenpro/tmpl/releases/latest/download/tmpl-darwin-amd64.tar.gz | tar -xz tmpl && sudo mv tmpl /usr/local/bin
curl -L https://github.com/Bananenpro/tmpl/releases/latest/download/tmpl-darwin-arm64.tar.gz | tar -xz tmpl && sudo mv tmpl /usr/local/bin
Open a terminal, paste the command for your architecture and hit enter.
To update, simply run the command again.
curl -L https://github.com/Bananenpro/tmpl/releases/latest/download/tmpl-linux-amd64.tar.gz | tar -xz tmpl && sudo mv tmpl /usr/local/bin
curl -L https://github.com/Bananenpro/tmpl/releases/latest/download/tmpl-linux-arm64.tar.gz | tar -xz tmpl && sudo mv tmpl /usr/local/bin
You can download a prebuilt binary file for your operating system on the releases page.
You might need to make the file executable before running it.
- Go 1.17+
git clone https://github.com/Bananenpro/tmpl.git
cd tmpl
go build .
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Copyright © 2022 Julian Hofmann